Reputation: 425
I am using KafkaTemplate to write messages to Kafka. I would like to gather some metrics from KafkaTemplate. I am using MicroMeter in my project for metrics collection. How can I expose KafkaTemplate metrics via MeterRegistry?
Upvotes: 1
Views: 949
Reputation: 174779
I am working on this right now and expect to issue a pull request today.
Some basic metrics were added to the template recently but what I am working on will expose the complete producer and consumer metrics supported by Micrometer.
Upvotes: 1