Skip to content
Browse files

Remove some metrics that were hanging around.

  • Loading branch information...
1 parent 5b6e0b2 commit 419009cc2091f5ce445e8b274dbc5699f8cf90cc @gphat gphat committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/scala/net/lag/kestrel/PersistentQueue.scala
View
5 src/main/scala/net/lag/kestrel/PersistentQueue.scala
@@ -404,6 +404,11 @@ class PersistentQueue(val name: String, persistencePath: String, @volatile var c
Stats.clearGauge(statNamed("age_msec"))
Stats.clearGauge(statNamed("waiters"))
Stats.clearGauge(statNamed("open_transactions"))
+ Stats.removeMetric(statNamed("set_latency_usec"))
+ Stats.removeMetric(statNamed("get_timeout_msec"))
+ Stats.removeMetric(statNamed("delivery_latency_msec"))
+ Stats.removeMetric(statNamed("get_hit_latency_usec"))
+ Stats.removeMetric(statNamed("get_miss_latency_usec"))
}
private final def nextXid(): Int = {

0 comments on commit 419009c

Please sign in to comment.
Something went wrong with that request. Please try again.