mjsax commented on code in PR #20883:
URL: https://github.com/apache/kafka/pull/20883#discussion_r2529161302


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImpl.java:
##########
@@ -199,7 +193,16 @@ public <T> void addClientLevelImmutableMetric(final String 
name,
                                                   final String description,
                                                   final RecordingLevel 
recordingLevel,
                                                   final T value) {
-        final MetricName metricName = metrics.metricName(name, 
CLIENT_LEVEL_GROUP, description, clientLevelTagMap());
+        addClientLevelImmutableMetric(name, description, 
Collections.emptyMap(), recordingLevel, value);
+    }
+
+    public <T> void addClientLevelImmutableMetric(final String name,
+                                                  final String description,
+                                                  final Map<String, String> 
additionalTags,
+                                                  final RecordingLevel 
recordingLevel,
+                                                  final T value) {
+        final MetricName metricName = metrics.metricName(name, 
CLIENT_LEVEL_GROUP, description,
+            clientLevelTagMap(additionalTags));

Review Comment:
   nit: Formatting. Why the line break? Should just go to above line?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to