Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use canonical naming convention for KafkaMetrics tags #2316

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

shakuzen
Copy link
Member

This also makes the client.id tag the same as it was in KafkaConsumerMetrics. Notably, kafka-version tag has also been changed to kafka.version. With some meter registries, this will effectively be no change (e.g. Prometheus), but for others it may be a breaking change to the tag name, but the goal is to correct the oversight of not aligning KafkaMetrics with KafkaConsumerMetrics initially. Behavior can be restored with a MeterFilter.

Resolves #2256

This also makes the `client.id` tag the same as it was in `KafkaConsumerMetrics`. Notably, `kafka-version` tag has also been changed to `kafka.version`. With some meter registries, this will effectively be no change (e.g. Prometheus), but for others it may be a breaking change to the tag name, but the goal is to correct the oversight of not aligning KafkaMetrics with KafkaConsumerMetrics initially. Behavior can be restored with a MeterFilter.

Resolves micrometer-metrics#2256
@shakuzen shakuzen changed the title Use our canonical naming convention for KafkaMetrics tags Use canonical naming convention for KafkaMetrics tags Oct 29, 2020
@shakuzen shakuzen merged commit b06f95c into micrometer-metrics:master Oct 29, 2020
@shakuzen shakuzen deleted the dot-dash-kafka branch October 29, 2020 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KafkaMetrics - renameTag with "client.id" no longer works instead "client-id"
1 participant