diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-07-04 01:51:58 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-07-04 01:51:58 -0300 |
commit | 3ae632dea4dd208ba22e56510c51ab222ea89148 (patch) | |
tree | 3de99b4d3686ee1ba938d1126937d09643419284 /kamon-core/src/main/scala/kamon/metric/instrument/Histogram.scala | |
parent | fc2333281acc028c79e1cfe00840666deea5a9d1 (diff) | |
download | Kamon-3ae632dea4dd208ba22e56510c51ab222ea89148.tar.gz Kamon-3ae632dea4dd208ba22e56510c51ab222ea89148.tar.bz2 Kamon-3ae632dea4dd208ba22e56510c51ab222ea89148.zip |
+ core: introduce the new kamon.metrics.default-collection-context-buffer-size setting
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metric/instrument/Histogram.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/instrument/Histogram.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/instrument/Histogram.scala b/kamon-core/src/main/scala/kamon/metric/instrument/Histogram.scala index 9ae077f4..8c81e717 100644 --- a/kamon-core/src/main/scala/kamon/metric/instrument/Histogram.scala +++ b/kamon-core/src/main/scala/kamon/metric/instrument/Histogram.scala @@ -103,6 +103,8 @@ class HdrHistogram(lowestTrackableValue: Long, highestTrackableValue: Long, sign new CompactHdrSnapshot(scale, nrOfMeasurements, measurementsArray, unitMagnitude(), subBucketHalfCount(), subBucketHalfCountMagnitude()) } + def getCounts = countsArray().length() + def cleanup: Unit = {} private def writeSnapshotTo(buffer: LongBuffer): Long = { |