kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nehanarkh...@apache.org
Subject git commit: KAFKA-798 Use biased histograms instead of uniform histograms in KafkaMetricsGroup; reviewed by Neha Narkhede
Date Sat, 09 Mar 2013 22:53:30 GMT
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 <neha.narkhede@gmail.com>
Authored: Sat Mar 9 14:53:22 2013 -0800
Committer: Neha Narkhede <neha.narkhede@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) =


Mime
View raw message