Closed mihaisoloi closed 3 months ago
The CollectorRegistry has been renamed and it's now PrometheusRegistry, if you interact with Micrometer you can't use this integration because of the old version sttp prometheus-backend is using.
CollectorRegistry
PrometheusRegistry
I'm referring to this https://github.com/prometheus/client_java/blob/main/prometheus-metrics-model/src/main/java/io/prometheus/metrics/model/registry/PrometheusRegistry.java
Ok, just realised that this is only the case for sttp3 and it's fixed in sttp4
sttp3
sttp4
The
CollectorRegistry
has been renamed and it's nowPrometheusRegistry
, if you interact with Micrometer you can't use this integration because of the old version sttp prometheus-backend is using.