diff options
author | Lukas Stefaniak <lustefaniak@gmail.com> | 2015-05-12 22:32:37 +0200 |
---|---|---|
committer | Lukas Stefaniak <lustefaniak@gmail.com> | 2015-05-12 22:32:37 +0200 |
commit | cdd11c07d5d8c6208112f5b128e9aff008c0bc53 (patch) | |
tree | 79dca814f8b1935cebbbac5a0a8f732e8541d94a /kamon-core/src/main/scala/kamon | |
parent | 5f9ad07ab3460a293d065566dad72769fa496cbd (diff) | |
download | Kamon-cdd11c07d5d8c6208112f5b128e9aff008c0bc53.tar.gz Kamon-cdd11c07d5d8c6208112f5b128e9aff008c0bc53.tar.bz2 Kamon-cdd11c07d5d8c6208112f5b128e9aff008c0bc53.zip |
= core: Fix usage of GaugeKey for gauges in MetricsModule
Diffstat (limited to 'kamon-core/src/main/scala/kamon')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/MetricsModule.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/MetricsModule.scala b/kamon-core/src/main/scala/kamon/metric/MetricsModule.scala index 9f2bbbef..ff622443 100644 --- a/kamon-core/src/main/scala/kamon/metric/MetricsModule.scala +++ b/kamon-core/src/main/scala/kamon/metric/MetricsModule.scala @@ -281,7 +281,7 @@ private[kamon] class MetricsModuleImpl(config: Config) extends MetricsModule { val gaugeEntity = Entity(name, SingleInstrumentEntityRecorder.Gauge, tags) val recorder = _trackedEntities.atomicGetOrElseUpdate(gaugeEntity, { val factory = instrumentFactory(gaugeEntity.category) - GaugeRecorder(MinMaxCounterKey(gaugeEntity.category, unitOfMeasurement.getOrElse(UnitOfMeasurement.Unknown)), + GaugeRecorder(GaugeKey(gaugeEntity.category, unitOfMeasurement.getOrElse(UnitOfMeasurement.Unknown)), factory.createGauge(name, dynamicRange, refreshInterval, valueCollector)) }, _.cleanup) |