Skip to content

Commit 877c59d

Browse files
committed
remove qSizeReal monitoring
1 parent 509a840 commit 877c59d

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/main/scala/Monitor.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ object Monitor:
188188
val step = Kamon.gauge("connector.flush.config.step").withoutTags()
189189
val interval = Kamon.gauge("connector.flush.config.interval").withoutTags()
190190
val maxDelay = Kamon.gauge("connector.flush.config.maxDelay").withoutTags()
191-
val qSizeReal = Kamon.histogram("connector.flush.qSize").withoutTags()
192191
val qSizeEstimate = Kamon.histogram("connector.flush.qSize.estimate").withoutTags()
193192
val channelsToFlush = Kamon.histogram("connector.flush.channelsToFlush").withoutTags()
194193
val loopRuntimeMicroseconds = Kamon.histogram("connector.flush.loopRuntimeMicroseconds").withoutTags()

src/main/scala/netty/ActorChannelConnector.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ final private class ActorChannelConnector(
3636
monitor.config.step.update(step.get())
3737
monitor.config.interval.update(interval.get())
3838
monitor.config.maxDelay.update(maxDelay.get())
39-
monitor.qSizeReal.record(flushQ.realSizeWithLinearPerformance())
4039

4140
def apply(endpoint: Endpoint, channel: Channel): Unit =
4241
val clientPromise = Promise[Client]()
@@ -106,4 +105,3 @@ object ActorChannelConnector:
106105
maybeChannel
107106

108107
def estimateSize(): Int = size.get()
109-
def realSizeWithLinearPerformance(): Int = queue.size()

0 commit comments

Comments
 (0)