aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala
diff options
context:
space:
mode:
authorIvan Topolnak <itopolnak@despegar.com>2014-04-09 17:47:02 -0300
committerIvan Topolnak <itopolnak@despegar.com>2014-04-09 17:47:02 -0300
commit516be79dc872fff9ea1e818f859a5989f58e3226 (patch)
tree228c68d64529a41e0d3a0fa26e95d3c5b6a29adc /kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala
parent98bb6b81e8f0f79ea42157e6c146cd8f795b3a6d (diff)
downloadKamon-516be79dc872fff9ea1e818f859a5989f58e3226.tar.gz
Kamon-516be79dc872fff9ea1e818f859a5989f58e3226.tar.bz2
Kamon-516be79dc872fff9ea1e818f859a5989f58e3226.zip
! core: change metric identities to lower case, separated with dashes
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala b/kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala
index 86558375..bd0d628b 100644
--- a/kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala
+++ b/kamon-core/src/main/scala/kamon/metrics/ActorMetrics.scala
@@ -27,9 +27,9 @@ case class ActorMetrics(name: String) extends MetricGroupIdentity {
object ActorMetrics extends MetricGroupCategory {
val name = "actor"
- case object ProcessingTime extends MetricIdentity { val name, tag = "ProcessingTime" }
- case object MailboxSize extends MetricIdentity { val name, tag = "MailboxSize" }
- case object TimeInMailbox extends MetricIdentity { val name, tag = "TimeInMailbox" }
+ case object ProcessingTime extends MetricIdentity { val name, tag = "processing-time" }
+ case object MailboxSize extends MetricIdentity { val name, tag = "mailbox-size" }
+ case object TimeInMailbox extends MetricIdentity { val name, tag = "time-in-mailbox" }
case class ActorMetricRecorder(processingTime: MetricRecorder, mailboxSize: MetricRecorder, timeInMailbox: MetricRecorder)
extends MetricGroupRecorder {