Deprecate support for io.micrometer.prometheus.PrometheusMeterRegistry in favor of io.micrometer.prometheusmetrics.PrometheusMeterRegistry #39904
Labels
status: superseded
An issue that has been superseded by another
As part of #39889, a number of deprecation warnings have been suppressed. This was done to adapt to changes in Micrometer as simply as possible, but we'll have to do more in the longer term.
Micrometer 1.13 has introduced a new module,
io.micrometer:micrometer-registry-prometheus-simpleclient
, that contains the oldio.micrometer.prometheus.PrometheusMeterRegistry
and related classes in a deprecated form. The existingio.micrometer:micrometer-registry-prometheus
module now contains new code for use with the new Prometheus client. As things stand after #39889, we only support the former and users will have to depend onmicrometer-registry-prometheus-simpleclient
rather thanio.micrometer:micrometer-registry-prometheus
to use Boot's Prometheus auto-configuration.Given these changes, we need to deprecate our support for
micrometer-registry-prometheus-simpleclient
and introduce support forio.micrometer:micrometer-registry-prometheus
. It remains to be seen how complicated this will be. Ideally, we'd be able to use the same configuration properties but:io.micrometer.prometheus.HistogramFlavor
inPrometheusProperties
The text was updated successfully, but these errors were encountered: