You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/08/27 21:27:19 UTC

[GitHub] [kafka] rodesai commented on a change in pull request #11149: KAFKA-13229: add total blocked time metric to streams (KIP-761)

rodesai commented on a change in pull request #11149:
URL: https://github.com/apache/kafka/pull/11149#discussion_r697727733



##########
File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImpl.java
##########
@@ -269,6 +300,12 @@ public final void removeAllThreadLevelSensors(final String threadId) {
                 metrics.removeSensor(sensors.pop());
             }
         }
+        synchronized (threadLevelMetrics) {

Review comment:
       These metrics aren't tied to a sensor - they just report values that are either constant or are accumulated from other metrics.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org