Skip to content

Commit

Permalink
use camelCase for tag names
Browse files Browse the repository at this point in the history
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
  • Loading branch information
Yannic92 committed Nov 15, 2021
1 parent 584b7d8 commit a2114a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void reportMetrics() {

private Gauge getGauge(final MetricName metricName) {
return DittoMetrics.gauge(KAFKA_CONSUMER_METRIC_PREFIX + metricName.name().replace("-", "_"))
.tag(ConnectionId.class.getSimpleName(), connectionId.toString())
.tag("connectionId", connectionId.toString())
.tag("consumerId", consumerId);
}

Expand Down

0 comments on commit a2114a5

Please sign in to comment.