NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central, #1002 by repository stars
MeterRegistry implementation for publishing to CloudWatch using the AWS SDK v1. This module is deprecated in favor of io.micrometer:micrometer-registry-cloudwatch2 that uses the AWS SDK v2.
Latest stable
1.12.13
Last release 2 years ago
no release in 18 months
Ships on a steady schedule
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
181 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Non-monotonic kafka metric reported as counter #3300
Thank you to all the contributors who worked on this release:
@pirgeo, @arminru, and @izeye
Your coding agent can read these notes before it upgrades. Set up the MCP server →
New Relic module fails on the module path #3412
We'd like to thank all the contributors who worked on this release!
HTTP server instrumentation TCK #3379
We'd like to thank all the contributors who worked on this release!
Make descriptions static for cache metrics #3321
ClassNotFoundException is thrown in a non-Spring Boot application when excluding LatencyUtils #3287We'd like to thank all the contributors who worked on this release!
Http client instrumentation TCK #3258
We'd like to thank all the contributors who worked on this release!
Make descriptions static where they are not #3201
We'd like to thank all the contributors who worked on this release!
This release contains only internal changes that should not affect users. See the milestone for details.
This release contains only internal changes that should not affect users. See the milestone for details.
We'd like to thank all the contributors who worked on this release!
TimedAspect advice return value should be marked Nullable #3041
We'd like to thank all the contributors who worked on this release!
Prevent CompositeMeter allocating on each record #3059
We'd like to thank all the contributors who worked on this release!
Dynatrace v2 ingestion reporting "inconsistent gauge fields" #3007
We'd like to thank all the contributors who worked on this release!
Netty HTTP codec module included in statsd JAR #2929
We'd like to thank all the contributors who worked on this release! @izeye
Deprecate ReactorNettySenderTest #2884
jvm.gc.live.data.size and max not updating for optavgpause/optthruput collectors #2874MetricsRequestEventListener with @Timed(longTask=true) makes two meters #2861We'd like to thank all the contributors who worked on this release! @izeye
Deprecate ReactorNettySender #2814
Micrometer 1.8.0 is the GA version of an LTS feature release. Below are the combined release notes of all the pre-release milestones and release candidate preceding it.
SIGSEGV) at startup with alpine based docker image, see #2776 for workaroundReactorNettySender #2814DiskSpaceMetrics to i.m.core.instrument.binder.system #2750JettyConnectionMetrics and JettySslHandshakeMetricsBinder #2603JsonUtils #2762ReactorNettySender #2814We'd like to thank all the contributors who worked on this release!
@izeye @arminru @bono007 @pirgeo @wengertj @OlgaMaciaszek @bentmann @YuliaFrishko @tmarszal @Fetsivalen @bodin @samarprakash @cyberdelia
Note: This is the final planned patch release of the 1.7.x line. We recommend upgrading to a supported version.
Note: This is the final planned patch release of the 1.7.x line. We recommend upgrading to a supported version.
This release contains only internal changes that should not affect users. See the milestone for details.
We'd like to thank all the contributors who worked on this release!
TimedAspect advice return value should be marked Nullable #3041
We'd like to thank all the contributors who worked on this release!
Prevent CompositeMeter allocating on each record #3059
We'd like to thank all the contributors who worked on this release!
Failed to record timer metrics in native image with percentiles configured #3002
We'd like to thank all the contributors who worked on this release!
LongTaskTimer always converts durations of measurements to nanos #2947
We'd like to thank all the contributors who worked on this release! @izeye
KafkaMetrics' refresh scheduler can stop in some corner cases #2879
jvm.gc.live.data.size and max not updating for optavgpause/optthruput collectors #2874MetricsRequestEventListener with @Timed(longTask=true) makes two meters #2861We'd like to thank all the contributors who worked on this release! @izeye
DefaultLongTaskTimer histogram bucket counting logic fix #2851
DefaultLongTaskTimer histogram bucket counting logic fix #2851We'd like to thank all the contributors who worked on this release!
Fragile reference to private synthetic this$ field #2806
this$ field #2806We'd like to thank all the contributors who worked on this release!
License violation in JsonUtils #2762
JsonUtils #2762JsonUtils #2762We'd like to thank all the contributors who worked on this release!
LongTaskTimer created from a Timed annotation doesn't enable histogram #2704
Timed annotation doesn't enable histogram #2704ubuntu-2004:202107-02 #2731We'd like to thank all the contributors who worked on this release!
Micrometer 1.7.2 contains the changes from the 1.6.9 and 1.5.16 releases (merged together below).
Micrometer 1.7.2 contains the changes from the 1.6.9 and 1.5.16 releases (merged together below).
IllegalImport check for samples #2696DynatraceExporterV2 #2688StringBuilder.append(char) where possible #2674We'd like to thank all the contributors who worked on this release!
Micrometer 1.7.1 contains the changes from the 1.5.15 release, copied below.
Micrometer 1.7.1 contains the changes from the 1.5.15 release, copied below.
@Nullable annotation missing for Timer.record() methods #2630We'd like to thank all the contributors who worked on this release!
Micrometer Hibernate MeterBinders are deprecated in favor of the Hibernate community MeterBinders #2420
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.
PrometheusMeterRegistry will work with the Prometheus simpleclient dependency version 0.10.0 or later only #2418JvmGcMetrics for OpenJ9 GC policies #1458TimedAspect and CountedAspect #2551JettyClientMetrics #2054ProcessorMetrics #2365MongoMetricsCommandListener #2360JvmInfoMetrics MeterBinder for jvm.info #2221KafkaClientMetrics in close() #2018ElasticMeterRegistry #2364StatsdMeterRegistry #2573StatsdMeterRegistry #2531PrometheusMeterRegistry #2119We'd like to thank all the contributors who worked on this release!
DefaultLongTaskTimer histogram bucket counting logic fix #2851
DefaultLongTaskTimer histogram bucket counting logic fix #2851We'd like to thank all the contributors who worked on this release!
Fragile reference to private synthetic this$ field #2806
this$ field #2806We'd like to thank all the contributors who worked on this release!
License violation in JsonUtils #2762
JsonUtils #2762JsonUtils #2762We'd like to thank all the contributors who worked on this release!
LongTaskTimer created from a Timed annotation doesn't enable histogram #2704
Timed annotation doesn't enable histogram #2704ubuntu-2004:202107-02 #2731We'd like to thank all the contributors who worked on this release!
Micrometer 1.6.9 contains the changes from the 1.5.16 release.
Micrometer 1.6.9 contains the changes from the 1.5.16 release.
IllegalImport check for samples #2696DynatraceExporterV2 #2688StringBuilder.append(char) where possible #2674We'd like to thank all the contributors who worked on this release!
Micrometer 1.6.8 contains the changes from the 1.5.15 release, copied below.
Micrometer 1.6.8 contains the changes from the 1.5.15 release, copied below.
@Nullable annotation missing for Timer.record() methods #2630We'd like to thank all the contributors who worked on this release!
Log meter polling failure in StatsdMeterRegistry #2573
StatsdMeterRegistry #2573We'd like to thank all the contributors who worked on this release!
Exclude netty http modules from shading in Statsd registry #2531
NOTE: Due to the sunsetting of Bintray/Jcenter, we no longer publish releases to jcenter. Use Maven Central instead.
NOTE: Due to the sunsetting of Bintray/Jcenter, we no longer publish releases to jcenter. Use Maven Central instead.
We'd like to thank all the contributors who worked on this release!
Log ExecutorServiceMetrics.bindTo() failure #2443
We'd like to thank all the contributors who worked on this release!
This patch release contains only the changes from the 1.5.10 milestone.
This patch release contains only the changes from the 1.5.10 milestone.
This patch release contains changes from the 1.3.16 release, 1.5.8 release, 1.5.9 release, and the 1.6.2 milestone.
This patch release contains changes from the 1.3.16 release, 1.5.8 release, 1.5.9 release, and the 1.6.2 milestone.
This patch release contains the changes in the 1.6.1 milestone and 1.5.7 release.
This patch release contains the changes in the 1.6.1 milestone and 1.5.7 release.
1.6.x is an LTS release line - see the support page for more information on LTS vs non-LTS releases. This release contains changes from the 1.6.0 mile
1.6.x is an LTS release line - see the support page for more information on LTS vs non-LTS releases. This release contains changes from the 1.6.0 milestone.
Thank you to all the people who contributed to this release.
Timer.Sample's tags methods and the stop method that takes a Timer.Builder have been removed. Instead, tags should be specified on the Timer passed to the remaining stop method. This makes for consistency - tags are always configured on the Timer.
<details><summary>Example before/after Timer.Sample code</summary>
<table><tr><th>Old code</th><th>Supported code</th></tr>
<tr><td>
Timer.Sample sample = Timer.start(meterRegistry);
// ... do some stuff
sample.tags("flag", flag);
sample.tags(Tags.of("other", "tag"));
sample.stop(meterRegistry, Timer.builder("sample.time"));
</td><td>
Timer.Sample sample = Timer.start(meterRegistry);
// ... do some stuff
sample.stop(Timer.builder("sample.time")
.tag("flag", flag)
.tags(Tags.of("other", "tag"))
.register(meterRegistry));
</td></tr></table> </details>
HibernateMetrics requires Hibernate 5.3 or later now.
Kafka metrics - https://github.com/micrometer-metrics/micrometer/issues/2256 The tag for client id on Kafka metrics has been changed from client-id to client.id to match the previous version of Kafka metrics from KafkaConsumerMetrics and to follow our canonical format. Likewise kafka-version has been updated to kafka.version. A MeterFilter can be applied to undo the tag name change or to apply this change to 1.5.x versions of Micrometer. For example:
Users who want client.id in 1.5.x should configure MeterFilter.renameTag("kafka", "client-id", "client.id")
Users who want client-id in 1.6.x should configure the opposite filter: MeterFilter.renameTag("kafka", "client.id", "client-id").
[ElasticMeterRegistry] https://github.com/micrometer-metrics/micrometer/pull/2288 Default index name prefix has been changed from metrics to micrometer-metrics to avoid a conflict with a built-in index template for an xpack feature in Elasticsearch 7.9[GraphiteMeterRegistry] https://github.com/micrometer-metrics/micrometer/pull/2083 Graphite tags should work out of the box now but requires the metrics-graphite dependency version 4.1.8 or later[GraphiteMeterRegistry] https://github.com/micrometer-metrics/micrometer/issues/2164 In order to retain the final publish on close behavior, users should be using at least version 4.1.8 of the metrics-core dependency.[WavefrontMeterRegistry] https://github.com/micrometer-metrics/micrometer/issues/2175 wavefront-sdk-java 2.4 or later is required now.JvmGcMetricsJvmGcMetrics
jvm.gc.pause Timer is not accurate for ZGC (it includes the concurrent time) see #2372NOTE: This is the final planned release in the 1.5.x line. 1.5.x is now out of OSS support. See the Micrometer support policy for more information.
NOTE: This is the final planned release in the 1.5.x line. 1.5.x is now out of OSS support. See the Micrometer support policy for more information.
Timed annotation doesn't enable histogram #2704ubuntu-2004:202107-02 #2731We'd like to thank all the contributors who worked on this release!
Test support for log event verification #2676
IllegalImport check for samples #2696DynatraceExporterV2 #2688StringBuilder.append(char) where possible #2674We'd like to thank all the contributors who worked on this release!
Add GraalVM native image reflection config for ProcessorMetrics and FileDescriptorMetrics #2638
@Nullable annotation missing for Timer.record() methods #2630We'd like to thank all the contributors who worked on this release!
Log meter polling failure in StatsdMeterRegistry #2573
StatsdMeterRegistry #2573We'd like to thank all the contributors who worked on this release!
Exclude netty http modules from shading in Statsd registry #2531
NOTE: Due to the sunsetting of Bintray/Jcenter, we no longer publish releases to jcenter. Use Maven Central instead.
NOTE: Due to the sunsetting of Bintray/Jcenter, we no longer publish releases to jcenter. Use Maven Central instead.
We'd like to thank all the contributors who worked on this release!
Log ExecutorServiceMetrics.bindTo() failure #2443
We'd like to thank all the contributors who worked on this release!
See the 1.5.10 milestone for changes included in this patch release.
See the 1.5.10 milestone for changes included in this patch release.
This patch release addresses the regression in the statsd module introduced in the 1.5.8 release. See the 1.5.9 milestone for included changes.
This patch release addresses the regression in the statsd module introduced in the 1.5.8 release. See the 1.5.9 milestone for included changes.
This patch release contains the changes in the 1.3.16 release and the 1.5.8 milestone.
This patch release contains the changes in the 1.3.16 release and the 1.5.8 milestone.
For StatsdMeterRegistry users, you may have the issue #2378 (infinite reconnect loop) with this version. Please upgrade to 1.5.9 or later to avoid this issue.
This patch release contains the changes in the 1.5.7 milestone.
This patch release contains the changes in the 1.5.7 milestone.
This patch release contains the changes in the 1.5.6 milestone, 1.3.15 release, and the 1.1.19 release.
This patch release contains the changes in the 1.5.6 milestone, 1.3.15 release, and the 1.1.19 release.
This patch release contains the changes from the 1.1.18 release, the 1.3.14 release, and the 1.5.5 milestone.
This patch release contains the changes from the 1.1.18 release, the 1.3.14 release, and the 1.5.5 milestone.
This patch release contains the changes from the 1.1.17 release and the 1.5.4 milestone.
This patch release contains the changes from the 1.1.17 release and the 1.5.4 milestone.
This includes a fix for the known issue with the StatsD registry mentioned in the 1.5.3 release (#2177 StatsD reconnect bug).
This patch release contains the changes from the 1.3.11 release, 1.1.16 release, and the 1.5.3 milestone.
This patch release contains the changes from the 1.3.11 release, 1.1.16 release, and the 1.5.3 milestone.
wavefront-sdk-java dependency to avoid a bug in a previous version that could cause applications to not exitThis patch release contains the changes from the 1.5.2 milestone, the 1.1.15 release, and the 1.3.10 release.
This patch release contains the changes from the 1.5.2 milestone, the 1.1.15 release, and the 1.3.10 release.
#2069 Users wishing to use the Graphite tag support added in but broken since Micrometer 1.4, a workaround is now available. Specifically, you should upgrade your metrics-graphite dependency to 4.1.8 or later and provide a GraphiteReporter to the GraphiteMeterRegistry constructor with the new addMetricAttributesAsTags option set, such as will be done in the default GraphiteReporter in Micrometer 1.6.0:
GraphiteReporter.forRegistry(metricRegistry)
.withClock(new DropwizardClock(clock))
.convertRatesTo(config.rateUnits())
.convertDurationsTo(config.durationUnits())
.addMetricAttributesAsTags(config.graphiteTagsEnabled()) // this fixes #2069
.build(getGraphiteSender(config));
This patch release contains the changes in the 1.1.14 release and the 1.3.9 release as well as the 1.5.1 milestone.
This patch release contains the changes in the 1.1.14 release and the 1.3.9 release as well as the 1.5.1 milestone.
Thank you to all the people who contributed to this release.
1.5.x is an LTS release line.
Thank you to all the people who contributed to this release.
[Atlas] The tag on histogram gauges for what was previously called sla is now named service.level.objective. Queries on this tag will need to be updated.[Graphite] #2007 to make the upgrade experience smoother, the default value for the configuration option for the recently added Graphite Tag support has been changed from true to being true if there are no tagsAsPrefix configured.[Wavefront] #1901 WavefrontMeterRegistry uses a WavefrontSender now instead of the Micrometer HttpSender to publish metrics to Wavefront. If you were customizing the HttpSender used for Wavefront, you should look at customizing the WavefrontSender instead now.JettySslHandshakeMetrics configured as an SslHandshakeListenerHttpClient metrics via JettyClientMetrics configured as a Request.ListenerThreadPoolExecutor metrics for pool max and core configurationAutomatic-Module-Name is now included in manifest files. Module path users will now have stable Automatic-Module-Names that match the previously derived file name-based names.HazelcastCacheMetrics has been updated to support both Hazelcast 3 and Hazelcast 4target.host, target.port, and target.schemeRequest and ResponseExecutorServiceMetrics can now prefix the metric names used, which is particularly useful when instrumenting multiple Executors with different tag setsLongTaskTimer has been improved to allow additional measurements like max, percentiles, histogramsla configuration options have been renamed as serviceLevelObjectives to better align with their purposeCompletableFuture support for the @Timed and @Counted annotationssla is now named service.level.objective. Queries on this tag will need to be updated.true to being true if there are no tagsAsPrefix configured.CollectorRegistry used by the PrometheusMeterRegistryWavefrontMeterRegistry uses a WavefrontSender now instead of the Micrometer HttpSender to publish metrics to Wavefront. If you were customizing the HttpSender used for Wavefront, you should look at customizing the WavefrontSender instead now.See the 1.5.0 milestone for all included changes.
This patch release includes changes from the 1.1.13 release, 1.3.8 release, and the 1.4.2 milestone.
This patch release includes changes from the 1.1.13 release, 1.3.8 release, and the 1.4.2 milestone.
Note: 1.4.x is a non-LTS release line that will have patch releases only until the next LTS release line 1.5.x starts with the 1.5.0 release. See the support policy for more details.
Timer#max is now back to what it was before the 1.4.0 release.NewRelicClientProvider implementations mistakenly had public constructors that took a NamingConvention. These have been removed. NamingConvention should be configured via the NewRelicMeterRegistry.Builder.#2002 There was a backwards incompatible change made in 1.4.0 to the DistributionStatisticsConfig.getMinimumExpectedValue() and DistributionStatisticsConfig.getMaximumExpectedValue(), changing their return type from Long to Double. If you are using these methods in a library that intends to support users on Micrometer 1.3.x and 1.4.x+, you should instead use the newly added getMinimumExpectedValueAsDouble and getMaximumExpectedValueAsDouble methods, available since 1.3.8 and 1.4.2 and 1.5.0.
Similarly, getSlaBoundaries return type was changed from long[] to double[], so a getServiceLevelObjectiveBoundaries() method has been added to 1.3.8 and 1.4.2 and 1.5.0.
This patch release includes changes from the 1.3.7 release and the 1.4.1 milestone.
This patch release includes changes from the 1.3.7 release and the 1.4.1 milestone.
Note: 1.4.x is a non-LTS release line that will have patch releases only until the next LTS release line (currently planned to be 1.5.x). See the support policy for more details.
One column per quarter.