You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ne...@apache.org on 2013/03/09 23:53:30 UTC
git commit: KAFKA-798 Use biased histograms instead of uniform
histograms in KafkaMetricsGroup; reviewed by Neha Narkhede
Updated Branches:
refs/heads/0.8 b5edbb193 -> da1dc1788
KAFKA-798 Use biased histograms instead of uniform histograms in KafkaMetricsGroup; reviewed by Neha Narkhede
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/da1dc178
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/da1dc178
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/da1dc178
Branch: refs/heads/0.8
Commit: da1dc17887e536824df35958c6abdc14828fb4cb
Parents: b5edbb1
Author: Neha Narkhede <ne...@gmail.com>
Authored: Sat Mar 9 14:53:22 2013 -0800
Committer: Neha Narkhede <ne...@gmail.com>
Committed: Sat Mar 9 14:53:22 2013 -0800
----------------------------------------------------------------------
.../scala/kafka/metrics/KafkaMetricsGroup.scala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kafka/blob/da1dc178/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala b/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala
index 0ac21c3..a20ab90 100644
--- a/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala
+++ b/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) =