diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-08-26 19:24:56 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-08-26 19:24:56 -0300 |
commit | d882e8e8ca6da081feac96f3d4eea197a9f84d12 (patch) | |
tree | ab67f2c4850e38c493cd712029b26fb5c52cde4b /kamon-core/src/main/scala/kamon/instrumentation/MessageQueueMetrics.scala | |
parent | b678e3250576a0352bfc1d8c4ee5ee2a62b75715 (diff) | |
download | Kamon-d882e8e8ca6da081feac96f3d4eea197a9f84d12.tar.gz Kamon-d882e8e8ca6da081feac96f3d4eea197a9f84d12.tar.bz2 Kamon-d882e8e8ca6da081feac96f3d4eea197a9f84d12.zip |
Some sort of basic logging with UOW
Diffstat (limited to 'kamon-core/src/main/scala/kamon/instrumentation/MessageQueueMetrics.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/instrumentation/MessageQueueMetrics.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/instrumentation/MessageQueueMetrics.scala b/kamon-core/src/main/scala/kamon/instrumentation/MessageQueueMetrics.scala index c21502ac..6a1e291f 100644 --- a/kamon-core/src/main/scala/kamon/instrumentation/MessageQueueMetrics.scala +++ b/kamon-core/src/main/scala/kamon/instrumentation/MessageQueueMetrics.scala @@ -48,12 +48,12 @@ class MonitoredMessageQueue(val delegate: MessageQueue, val queueSizeHistogram: def enqueue(receiver: ActorRef, handle: Envelope) = { delegate.enqueue(receiver, handle) - queueSizeHistogram.update(numberOfMessages) + //queueSizeHistogram.update(numberOfMessages) } def dequeue(): Envelope = { val envelope = delegate.dequeue() - queueSizeHistogram.update(numberOfMessages) + //queueSizeHistogram.update(numberOfMessages) envelope } |