Description
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 old io.micrometer.prometheus.PrometheusMeterRegistry
and related classes in a deprecated form. The existing io.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 on micrometer-registry-prometheus-simpleclient
rather than io.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 for io.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:
- there may be some differences in the properties offered by the two modules
- we reference the now-deprecated
io.micrometer.prometheus.HistogramFlavor
inPrometheusProperties