This is the GA (general availability) release of Micrometer 1.7.0, a LTS (long-term support) feature release. Below are the changes included in this release.
Noteworthy
- Micrometer Hibernate MeterBinders are deprecated in favor of the Hibernate community MeterBinders #2420
PrometheusMeterRegistry
will work with the Prometheussimpleclient
dependency version 0.10.0 or later only #2418- Support for Elasticsearch 6 has been dropped #2361
- Support for Mongo 3.x drivers has been dropped #2338
⭐ New Features / Enhancements
micrometer-core
JvmGcMetrics
for OpenJ9 GC policies #1458- Support multiple long lived heap memory pools for gc metrics #2562
- Introduce a skip predicate to
TimedAspect
andCountedAspect
#2551 - Add "host" tag to
JettyClientMetrics
#2054 - Support Caffeine 3 #2478
- Align publication time with StepValue rollover (#1218) #2393
- Use OperatingSystemMXBean.getCpuLoad() first in
ProcessorMetrics
#2365 - Adds pluggable tags provider to
MongoMetricsCommandListener
#2360 - Support for Mongo Connection pool tags provider #2355
- Upgrade to Mongo 4 java driver #2338
- Add method tagKeys(Collection keys) to Search #2310
- Support jOOQ 3.14 #2304
JvmInfoMetrics
MeterBinder for jvm.info #2221- Add implementation of Caffeine's StatsCounter #2163
- Add support for strong reference to TimeGauge #2136
- Unbind
KafkaClientMetrics
in close() #2018 - Support gRPC monitoring #656
Registry-specific
- InfluxDB 2.0 support #1974
- Set index to false for metric values in
ElasticMeterRegistry
#2364 - Support Datadog UDP origin detection on Kubernetes #2417
- Log meter polling failure in
StatsdMeterRegistry
#2573 - Exclude netty http modules from shading in
StatsdMeterRegistry
#2531 - OpenMetrics scrape support #2486
- Add convenient methods for filtered scraping in
PrometheusMeterRegistry
#2119
🔨 Dependency Upgrades
- Upgrade to Reactor Dysprosium-SR20 #2602
❤️ Contributors
We'd like to thank all the contributors who worked on this release!