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 | 86aff31594c6e3e98f71903d1397b6c2709cf6a0 (patch) | |
tree | 3f9b22897a38cbaad9a072c33054be20bd9e708e /kamon-core/src/main | |
parent | 05007f1011de8ea352ee23725ae46c51f5d67338 (diff) | |
download | Kamon-86aff31594c6e3e98f71903d1397b6c2709cf6a0.tar.gz Kamon-86aff31594c6e3e98f71903d1397b6c2709cf6a0.tar.bz2 Kamon-86aff31594c6e3e98f71903d1397b6c2709cf6a0.zip |
= core: fixes typo in DispatcherMetrics
Diffstat (limited to 'kamon-core/src/main')
-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)) |