Kafka metrics not appearing on Actuator
See original GitHub issueHi,
We’re trying to expose our Kafka binder’s metrics using Actuator but they don’t seem to be appearing. Based on the documentation, we expected spring.cloud.stream.binder.kafka.offset
to appear in the names array on the /actuator/metrics
endpoint with details at /actuator/metrics/spring.cloud.stream.binder.kafka.offset
. We’re using version 2.1.0.RELEASE
of Spring Boot and Actuator as well as version 1.1.0
of Micrometer. Our binding is appearing at /actuator/bindings
.
Our application.yml
contains the following:
management:
endpoints:
web:
exposure:
include: bindings, metrics, health
Happy to supply any more information if required.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Spring boot 2.3.4 - Kafka metrics are not visible in /actuator ...
4) and I'm using @KafkaListener to consume records. I also use actuator and micrometer (version 1.5.5) for the metrics. The problem is that...
Read more >Kafka metrics not available in /actuator/prometheus-Springboot
Coding example for the question Spring Boot Kafka - Kafka metrics not available in /actuator/prometheus-Springboot.
Read more >57. Metrics - Spring
Spring Boot provides a metrics endpoint that can be used diagnostically to examine the metrics collected by an application. The endpoint is not...
Read more >Gathering Metrics with Micrometer and Spring Boot Actuator
Traditionally, metrics have really been not much more than just simple ... Kafka - native metrics on all configured producers/consumers ...
Read more >spring-projects/spring-metrics - Gitter
I am using spring metrics to view the kafka metrics.. I am able to see values for metrics ... Was wondering is anyone...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lawhiteley @mark-r-m Aplogies for the delay. I just ran a sample application with Boot
2.1.0.RELEASE
and Spring Cloud StreamFishtown
snapshot, micrometer1.1.0.RELEASE
etc.I am actually getting the metrics. See below.
actuator/metrics
and
actuator/metrics/spring.cloud.stream.binder.kafka.offset
If you can provide a small sample app where it fails for you, we can troubleshoot it further.
Thanks @sobychacko @sabbyanandan