-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Custom micrometer tags are not displayer on actuator/prometheus page. #3070
Comments
@tbarabanov Could you provide us with a small sample application where we can reproduce this issue? Please include some instructions to run the app as well. |
@sobychacko I believe that it is micrometer+prometheus issue, but anyway here is the project link |
If problem is not on Spring for Apache Kafka side, consider to close this issue and open a new one in Micormeter or Prometheus . |
@artembilan sure, but just to let the spring-kafka team to know, that there is the issue that made me (and probably others) mad =) |
Thanks. So, closed as |
spring-kafka version
org.springframework.kafka:spring-kafka:jar:3.0.10
micrometer version
io.micrometer:micrometer-core:jar:1.11.3
io.micrometer:micrometer-registry-prometheus:jar:1.11.3
io.micrometer:micrometer-observation:jar:1.11.3
Custom micrometer tags are not displayer on
actuator/prometheus
page.I'm using autoconfigured kafka with a simple listener:
In IDE debug I see that my micrometerTagsProvider gets called (tags are generated) as well as the code in
MicrometerHolder.java
I see that custom tags are added to builder, I see
spring.kafka.listener
metrics onactuator/prometheus
page but no custom tags are displayed.expected result
custom tags must be displayed on
actuator/prometheus
page along with their metricsThe text was updated successfully, but these errors were encountered: