lct45 commented on a change in pull request #9614: URL: https://github.com/apache/kafka/pull/9614#discussion_r534256605
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImpl.java ########## @@ -214,6 +215,20 @@ public RocksDBMetricsRecordingTrigger rocksDBMetricsRecordingTrigger() { } } + public final Sensor clientLevelSensor(final String sensorName, + final RecordingLevel recordingLevel, + final Sensor... parents) { + synchronized (clientLevelSensors) { + final String fullSensorName = CLIENT_LEVEL_GROUP + SENSOR_NAME_DELIMITER + sensorName; + final Sensor sensor = metrics.getSensor(fullSensorName); Review comment: I changed it back for consistency and will open up a fix PR to update both of them to the new syntax ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org