I have a Spring Boot 2 application that uses Micrometer.
Unfortunately, I need to use Prometheus PushGateway (i.e. pushing instead of pulling)
So I need to read all Meter
's from MeterRegistry
and convert them to Prometheus objects (e.g. Gauge, Counter) . Then, register them to a CollectorRegistry
and push them using PushGateway
.
Is there a convenient way to make this conversion?
Thanks!