diff options
Diffstat (limited to 'kamon-core/src/main/scala')
3 files changed, 5 insertions, 5 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 { diff --git a/kamon-core/src/main/scala/kamon/metrics/CustomMetric.scala b/kamon-core/src/main/scala/kamon/metrics/CustomMetric.scala index 82affe47..cd0afac1 100644 --- a/kamon-core/src/main/scala/kamon/metrics/CustomMetric.scala +++ b/kamon-core/src/main/scala/kamon/metrics/CustomMetric.scala @@ -26,7 +26,7 @@ case class CustomMetric(name: String) extends MetricGroupIdentity { object CustomMetric extends MetricGroupCategory { val name = "custom-metric" - val RecordedValues = new MetricIdentity { val name, tag = "RecordedValues" } + val RecordedValues = new MetricIdentity { val name, tag = "recorded-values" } def histogram(highestTrackableValue: Long, significantValueDigits: Int, scale: Scale, continuous: Boolean = false) = new MetricGroupFactory { diff --git a/kamon-core/src/main/scala/kamon/metrics/TraceMetrics.scala b/kamon-core/src/main/scala/kamon/metrics/TraceMetrics.scala index 9d787428..7c197166 100644 --- a/kamon-core/src/main/scala/kamon/metrics/TraceMetrics.scala +++ b/kamon-core/src/main/scala/kamon/metrics/TraceMetrics.scala @@ -27,7 +27,7 @@ case class TraceMetrics(name: String) extends MetricGroupIdentity { object TraceMetrics extends MetricGroupCategory { val name = "trace" - case object ElapsedTime extends MetricIdentity { val name, tag = "ElapsedTime" } + case object ElapsedTime extends MetricIdentity { val name, tag = "elapsed-time" } case class HttpClientRequest(name: String, tag: String) extends MetricIdentity class TraceMetricRecorder(val elapsedTime: HdrRecorder, private val segmentRecorderFactory: () ⇒ HdrRecorder) |