diff options
author | Diego <diegolparra@gmail.com> | 2014-05-28 22:32:12 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-05-28 22:32:12 -0300 |
commit | 4871e616f939b3f29a4e15245fafed3aea560dbc (patch) | |
tree | a9dd5b113ad281699748875db55d535357c6194e /kamon-core | |
parent | 5596e6061115307dcbf5b34c4181b201c103fc72 (diff) | |
download | Kamon-4871e616f939b3f29a4e15245fafed3aea560dbc.tar.gz Kamon-4871e616f939b3f29a4e15245fafed3aea560dbc.tar.bz2 Kamon-4871e616f939b3f29a4e15245fafed3aea560dbc.zip |
= core: fixes typo in DispatcherMetrics
Diffstat (limited to 'kamon-core')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metrics/DispatcherMetrics.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/metrics/DispatcherMetrics.scala b/kamon-core/src/main/scala/kamon/metrics/DispatcherMetrics.scala index 7e9198f3..f41e0c3f 100644 --- a/kamon-core/src/main/scala/kamon/metrics/DispatcherMetrics.scala +++ b/kamon-core/src/main/scala/kamon/metrics/DispatcherMetrics.scala @@ -55,13 +55,13 @@ object DispatcherMetrics extends MetricGroupCategory { def create(config: Config): DispatcherMetricRecorder = { val settings = config.getConfig("precision.dispatcher") - val threadCountConfig = extractPrecisionConfig(settings.getConfig("maximum-pool-size")) + val MaximumPoolSizeConfig = extractPrecisionConfig(settings.getConfig("maximum-pool-size")) val RunningThreadCountConfig = extractPrecisionConfig(settings.getConfig("running-thread-count")) val QueueTaskCountConfig = extractPrecisionConfig(settings.getConfig("queued-task-count")) val PoolSizeConfig = extractPrecisionConfig(settings.getConfig("pool-size")) new DispatcherMetricRecorder( - HdrRecorder(threadCountConfig.highestTrackableValue, threadCountConfig.significantValueDigits, Scale.Unit), + HdrRecorder(MaximumPoolSizeConfig.highestTrackableValue, MaximumPoolSizeConfig.significantValueDigits, Scale.Unit), HdrRecorder(RunningThreadCountConfig.highestTrackableValue, RunningThreadCountConfig.significantValueDigits, Scale.Unit), HdrRecorder(QueueTaskCountConfig.highestTrackableValue, QueueTaskCountConfig.significantValueDigits, Scale.Unit), HdrRecorder(PoolSizeConfig.highestTrackableValue, PoolSizeConfig.significantValueDigits, Scale.Unit)) |