Open mmacphail opened 1 year ago
The way that Quarkus configures the binder will not work for camel-quarkus-kafka
.
Maybe there's a way to replicate the functionality. It would need investigating.
I'm curious as of why it wouldn't work ?
As far as I understood as long as the Kafka Consumer or Producer interface is on the classpath
it should collect the metrics according to the documentation.
I'm curious as of why it wouldn't work ?
From what I saw of the code, it assumes the Kafka consumer / producer is a CDI bean. Which is not the case for camel-quarkus-kafka
.
In my camel-quarkus-kafka project, producer Kafka metrics are not showing up in the Micrometer prometheus endpoint.
The example project is available on github. If the project is ran, no Kafka metrics will appear in Micrometer prometheus endpoint. Other metrics such as camel metrics appear.
My route:
Configuration:
I would expect the third property to do the trick according to the Quarkus Micrometer documentation.
Dependencies: