Permalink
Browse files

KAFKA-798 Use biased histograms instead of uniform histograms in Kafk…

…aMetricsGroup; reviewed by Neha Narkhede
  • Loading branch information...
1 parent b5edbb1 commit da1dc17887e536824df35958c6abdc14828fb4cb @nehanarkhede nehanarkhede committed Mar 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala
@@ -45,7 +45,7 @@ trait KafkaMetricsGroup extends Logging {
def newMeter(name: String, eventType: String, timeUnit: TimeUnit) =
Metrics.defaultRegistry().newMeter(metricName(name), eventType, timeUnit)
- def newHistogram(name: String, biased: Boolean = false) =
+ def newHistogram(name: String, biased: Boolean = true) =
Metrics.defaultRegistry().newHistogram(metricName(name), biased)
def newTimer(name: String, durationUnit: TimeUnit, rateUnit: TimeUnit) =

0 comments on commit da1dc17

Please sign in to comment.