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.
[Humio] https://github.com/micrometer-metrics/micrometer/pull/1668 Removed the deprecated method HumioConfig.repository()
NOTE: This is a non-LTS release. 1.4.x patches will be provided only until 1.5.0 is released. See the support policy for more details.
Thank you to all the contributors we had to bring the many changes included in this release.
[Humio] https://github.com/micrometer-metrics/micrometer/pull/1668 Removed the deprecated method HumioConfig.repository()[Graphite] https://github.com/micrometer-metrics/micrometer/pull/1740 Upgrade to metrics-graphite 4.1.+[statsd] https://github.com/micrometer-metrics/micrometer/issues/1741 Upgrade to netty 4.1.44 and reactor-netty 0.9.4KafkaClientMetrics for consumer and producer metrics replaces previous KafkaConsumerMetricsKafkaStreamsMetrics supports Kafka StreamsJvmCompilationMetricsJvmHeapPressureMetrics@Counted annotationPoolingHttpClientConnectionManagerMetricsBinder can now be used with async Apache HTTP client connection poolsMicrometerHttpClientInterceptorJettyConnectionMetricsMetricsDSLContext[Stackdriver] https://github.com/micrometer-metrics/micrometer/pull/1682 Ability to configure credentials[Stackdriver] https://github.com/micrometer-metrics/micrometer/pull/1724 Avoid creating Stackdriver metrics if they already exist[Stackdriver] https://github.com/micrometer-metrics/micrometer/pull/1818 Support for Stackdriver resource labels[statsd] Rewrite StatsdMeterRegistry publishing implementation
[Graphite] https://github.com/micrometer-metrics/micrometer/pull/1806 Graphite tag support[Datadog] https://github.com/micrometer-metrics/micrometer/issues/1867 Allow disabling sending metadata for performance[Datadog] https://github.com/micrometer-metrics/micrometer/pull/1869 Update default endpoint to api one expected for calls from applications[New Relic] https://github.com/micrometer-metrics/micrometer/issues/1540 New Relic Java Agent option for NewRelicMeterRegistrySee the 1.4.0 milestone for all included changes.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
NOTE: This is the final release in the 1.3.x line. Upgrade to a supported version for future patch releases.
NOTE: This is the final release in the 1.3.x line. Upgrade to a supported version for future patch releases.
StatsdMeterRegistry #2573We'd like to thank all the contributors who worked on this release!
Statsd registry stops polling meters #2543
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.3.17 milestone for all changes.
This patch release contains the changes in the 1.3.16 milestone.
This patch release contains the changes in the 1.3.16 milestone.
This patch release contains the changes from the 1.1.19 release and the 1.3.15 milestone.
This patch release contains the changes from the 1.1.19 release and the 1.3.15 milestone.
This patch release contains the changes from the 1.1.18 release and the 1.3.14 milestone.
This patch release contains the changes from the 1.1.18 release and the 1.3.14 milestone.
This patch release only contains the changes from the 1.1.17 release.
This patch release only contains the changes from the 1.1.17 release.
This patch release contains the changes from the 1.1.16 release and the 1.3.11 milestone.
This patch release contains the changes from the 1.1.16 release and the 1.3.11 milestone.
This patch release contains the changes from the 1.1.15 release as well as the 1.3.10 milestone.
This patch release contains the changes from the 1.1.15 release as well as the 1.3.10 milestone.
This patch release contains the changes in the 1.1.14 release and the 1.3.9 milestone.
This patch release contains the changes in the 1.1.14 release and the 1.3.9 milestone.
This patch release includes changes from the 1.1.13 release and the 1.3.8 milestone.
This patch release includes changes from the 1.1.13 release and the 1.3.8 milestone.
#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 in this release (1.3.8) and forthcoming 1.4.2 and 1.5.0.
Similarly, getSlaBoundaries return type was changed in 1.4.0 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.1.12 release and the 1.3.7 milestone.
This patch release includes changes from the 1.1.12 release and the 1.3.7 milestone.
See the 1.3.6 milestone and the 1.1.11 milestone for included changes.
See the 1.3.6 milestone and the 1.1.11 milestone for included changes.
See the 1.3.5 milestone for included changes.
See the 1.3.5 milestone for included changes.
WARNING: Do not use this version. There was an error in the release process and this version contains changes not intended to be released.
WARNING: Do not use this version. There was an error in the release process and this version contains changes not intended to be released.
See the 1.3.3 milestone and the 1.1.10 milestone for included changes.
See the 1.3.3 milestone and the 1.1.10 milestone for included changes.
This patch release includes changes from the 1.1.9 milestone in addition to the 1.3.2 milestone.
This patch release includes changes from the 1.1.9 milestone in addition to the 1.3.2 milestone.
See the 1.3.1 milestone for included changes. Changes from the 1.1.8 milestone are also included in this release.
See the 1.3.1 milestone for included changes. Changes from the 1.1.8 milestone are also included in this release.
A dependency Bill of Materials (BOM) artifact is now published as io.micrometer:micrometer-bom. This can be used to manage the version of all Micromet
1.3 is an LTS release line.
A dependency Bill of Materials (BOM) artifact is now published as io.micrometer:micrometer-bom. This can be used to manage the version of all Micrometer artifacts.
The New Relic registry now publishes all metrics with the eventType as MicrometerSample by default to align with New Relic best practices on eventType values. The previous behavior can be restored by setting the new config meterNameEventTypeEnabled to true. See #1588
See the 1.3.0 milestone for all included items.
This release includes all changes in the 1.1.7 release and the 1.2.2 release.
This is the final planned release in the 1.2.x line. Upgrade to 1.3.x to continue to get patches.
This is the final planned release in the 1.2.x line. Upgrade to 1.3.x to continue to get patches.
This release contains all of the changes in the 1.1.7 release.
See issues included in the 1.2.2 milestone.
NOTE: 1.2.x is a non-LTS release line that will not publish patch releases once 1.3.0 is released. See our support policy for more details.
NOTE: 1.2.x is a non-LTS release line that will not publish patch releases once 1.3.0 is released. See our support policy for more details.
See the milestone for included issues. Issues in the 1.1.6 milestone were also included in this version.
NOTE: This is a non-LTS release. 1.2.x patches will be provided only until 1.3.0 is released. See the support policy for more details.
NOTE: This is a non-LTS release. 1.2.x patches will be provided only until 1.3.0 is released. See the support policy for more details.
metric_type with the Meter.Id.Type for custom Meter implementations instead of unknownSee the 1.2.0 milestone for all included issues.
This is the final planned release in the 1.1.x line. Please upgrade to a supported release line to continue receiving patch releases in the future.
This is the final planned release in the 1.1.x line. Please upgrade to a supported release line to continue receiving patch releases in the future.
See the 1.1.19 milestone for issues included in this release.
This is a patch release containing the changes included in the 1.1.18 milestone.
This is a patch release containing the changes included in the 1.1.18 milestone.
This is a patch release containing the changes included in the 1.1.17 milestone.
This is a patch release containing the changes included in the 1.1.17 milestone.
See the 1.1.16 milestone for included changes in this patch release.
See the 1.1.16 milestone for included changes in this patch release.
See the 1.1.15 milestone for included changes in this patch release.
See the 1.1.15 milestone for included changes in this patch release.
This patch release contains the changes included in the 1.1.14 milestone.
This patch release contains the changes included in the 1.1.14 milestone.
See the 1.1.13 milestone for the included changes.
See the 1.1.13 milestone for the included changes.
PushRegistryConfig.numThreads() has been deprecated - it was never used.See the 1.1.12 milestone for included changes.
See the 1.1.12 milestone for included changes.
bug https://github.com/micrometer-metrics/micrometer/issues/1937 "OkHttpMetricsEventListener leaks memory when used with OkHttpClient caching."
Users affected by this bug will need to be using a recent version of OkHttp (3.14.2+) for the fix in this release to work.See the 1.1.11 milestone for included changes.
See the 1.1.10 milestone for issues included in this release.
See the 1.1.10 milestone for issues included in this release.
See the milestone for included issues in this release.
See the milestone for included issues in this release.
See the 1.1.8 milestone for included changes.
See the 1.1.8 milestone for included changes.
An inadvertent use of slf4j in micrometer-core has been removed. Micrometer now uses an internal logging facade adopted from code in the Netty project
An inadvertent use of slf4j in micrometer-core has been removed. Micrometer now uses an internal logging facade adopted from code in the Netty project.
See the milestone for all issues included in this release.
See the milestone for included issues.
See the milestone for included issues.
https://github.com/micrometer-metrics/micrometer/pull/1421 If using the ElasticMeterRegistry, any existing metrics_template template needs to be delet
https://github.com/micrometer-metrics/micrometer/pull/1421 If using the ElasticMeterRegistry, any existing metrics_template template needs to be deleted when upgrading so it can be recreated with the fix included in that change.
See the 1.1.5 milestone for full details on what was included in this release. All changes from the 1.0.11 release were also included in 1.1.5.
See the 1.1.4 milestone for included changes. 1.0.10 changes are also included in this release.
See the 1.1.4 milestone for included changes. 1.0.10 changes are also included in this release.
The default PauseDetector has been changed to NoPauseDetector from ClockDriftPauseDetector (see #1324). To restore the prior behavior, configure a ClockDriftPauseDetector on your MeterRegistry like:
registry.config().pauseDetector(new ClockDriftPauseDetector(Duration.ofMillis(100), Duration.ofMillis(100));
MissingRequiredConfigurationException will be thrown when instantiating MeterRegistry implementations if required configuration values are not available from the given *Config class used.
See the 1.1.3 milestone for included items.
See the 1.1.3 milestone for included items.
Includes 1.0.10 fixes up to the point of 1.1.3 release (see diff).
MediaType.get calls in OkHttpSender where possibleRestTemplateExchangeTags.outcomeSee the 1.1.2 milestone for included items.
See the 1.1.2 milestone for included items.
outcome tag to default rest template tags provider in spring legacyPortUnreachableException: recvfrom() failed on LinuxLoggingRegistryConfig.logInactive() when loggingAuto-configure Kafka consumer metrics in micrometer-spring-legacy.
Measurement interface in AppOptics.MetricRegistry when removing a meter.HttpSender.print() usages.micrometer-registry-statsd does not pollute classpath with /META-INF/native/libnetty_transport_native_epoll_x86_64.so from Netty 4.1.29.Tags.and(Tag...)PostgreSQLDatabaseMetrics#runQuery advances JDBC cursor to next row.CloudWatchMeterRegistry.Batch.metricDatum().Add base units to several binders. (Breaking change for Prometheus. See #1063)
LoggingMeterRegistry that formats metrics as logs periodically.JvmThreadMetrics.management.metrics.tags.* in Spring Boot 1.5.x.MultiGauge, a helper to spawn a series of gauges from a table-like structure that share a name but vary in tags. MultiGauge allows the set of gauges to grow and shrink over time, provided the total set of tags is well-bounded over time.MeterRegistry#remove(Meter.Id) and MeterRegistry#remove(Meter)) and a new MeterRegistry#config().onMeterRemoved(Consumer) method.Supplier<T>.Timer#start() that uses the default system clock.DatadogMeterRegistry.builder(..).httpClient(CUSTOM_HTTP_CLIENT).build().Autocloseable from Meter and MeterRegistry to improve static code analysis experience (e.g. Sonar).Meter#match(..) and Meter#use(..))HierarchicalNameMapper injectable for GraphiteMeterRegistry.TimedAspect.DEFAULT from some MeterRegistryConfig subclasses (when a default isn't possible because there is a required property).NOTE: This is the last planned patch release of the 1.0.x version line. Please upgrade to a supported release line to get future patches.
NOTE: This is the last planned patch release of the 1.0.x version line. Please upgrade to a supported release line to get future patches.
See the 1.0.11 milestone for details on changes included in this release.
See the 1.0.10 milestone for included items.
See the 1.0.10 milestone for included items.
The default PauseDetector has been changed to NoPauseDetector from ClockDriftPauseDetector (see #1324). To restore the prior behavior, configure a ClockDriftPauseDetector on your MeterRegistry like:
registry.config().pauseDetector(new ClockDriftPauseDetector(Duration.ofMillis(100), Duration.ofMillis(100));
Add access token validation to SignalFxPropertiesConfigAdapter
SignalFxPropertiesConfigAdapterexecutor.queued meterTimedAspect does not disrupt the application flow when there is an exception recording a metric.
TimedAspect does not disrupt the application flow when there is an exception recording a metric.micrometer-spring-legacy now respects Actuator endpoint settings.MicrometerCollector for a meter with a duplicate name now includes the name in its message.Prometheus Actuator endpoint.WebMvcMetricsFilter.WavefrontPropertiesConfigAdapter now extends StepRegistryPropertiesConfigAdapter.spring.aop.auto property reference.Restore constructors in StepDistributionSummary and StepTimer (fix API backwards incompatibility introduced in 1.0.6).
NotificationListeners created by TomcatMetrics.ServletMetricsConfiguration an auto-configuration class.TomcatMetrics looks up depending on whether the app is using embedded Tomcat or not.StepMeterRegistry now produces daemon threads.StackOverflowError in Prometheus registry when thousands of tags exist for one meter name.GraphiteNamingConvention respect its delegate NamingConvention.InfluxNamingConvention respect its delegate for tag values.CompositeMeterRegistry.WavefrontMetricRegistry now honors connectTimeout and readTimeout properties.WavefrontMeterRegistry does not send metrics when the value is 'NaN'.CharacterEncodingFilter is ordered first.StepDistributionSummary and StepTimer (fix API backwards incompatibility introduced in 1.0.6).DataSourcePoolMetricsAutoConfiguration now properly checks whether DataSource bean is available properly.Influx retention policies are now fully customizable through InfluxConfig.
InfluxConfig.RestTemplateMetricsConfiguration an auto-configuration.meterNamePrefix work as a prefix in MeterFilter#maximumAllowableTags.JCacheMetrics guards against empty cache names, such as those emanating from Apache Ignite.jvm.memory.committed.DefaultJerseyTagsProvider.: characters.Exception types thrown in Spring WebMVC endpoints.ConcurrentModificationException in CompositeMeterRegistry.TimeGauge.MeterFilter, the tag values seen before the maximum is reached continue to be allowed.MeterFilter, other tag keys were affected too. This is no longer the case.Metrics.More is now public so less frequently used meter types can be constructed, e.g. Metrics.more().longTaskTimer(..).DatadogNamingConvention#tagKey respect its delegate.StepTimer and StepDistributionSummary now update count and sum based on expiry.micrometer-registry-statsd.This release mistakenly failed to shade pcollections into micrometer-registry-statsd. For this patch release only, please add pcollections to your run
This release mistakenly failed to shade pcollections into micrometer-registry-statsd. For this patch release only, please add pcollections to your runtime classpath:
compile("io.micrometer:micrometer-registry-statsd:1.0.5")
runtime("org.pcollections:pcollections:3.0.1")
This will be resolved in 1.0.6.
simpleclient_common version 0.4.0.NamingConvention implementations.StepMeterRegistry, an abstract base class upon which many implementations are built.HistogramSnapshot methods max(TimeUnit unit) and mean(TimeUnit unit) are appropriately scaled.InfluxNamingConvention doesn't apply base convention to tag values.GraphiteMeterRegistry passes Clock to self-created GraphiteReporter.PrometheusMeterRegistry.newMeter().executor.steals metric name.maximumAllowableTags to only limit metrics of a particular name.Restored a deprecated AbstractTimer constructor which was removed in 1.0.3 (which was a breaking change).
MeterNotFoundException which is thrown when registry.get("find.me")... fails to find a matching meter:cache.gets with tag result=hit for Hazelcast. A metric cache.partition.gets was added for Hazelcast.AbstractTimer constructor which was removed in 1.0.3 (which was a breaking change).StatsdConfig.queueSize(), which was unused.Timer and Distribution now conditionally use one of three histogram structures depending on which options you have selected to improve memory consumpt
Timer and Distribution now conditionally use one of three histogram structures depending on which options you have selected to improve memory consumption in most cases. See the memory consumption table in the Micrometer Concepts doc for more.Timer max, so you can see the effect that system/VM pauses have on timed blocks of code.WebMvgTags use matched patterns for HTTP 404.HierarchicalNameMapper as a configured @Bean so you can configure different hierarchical name mappers for different registries.MeterRegistryCustomizer for specific implementations now no longer can result in ClassCastException.+Inf bucket when histogram data or SLAs are sent.Timer max metric separated and reported separately from other elements of the Timer (but the name has not changed).Publish one last time on close for push-based systems.
TimeDecayingMax.rotate() for infrequently used timer dimensions.DoubleFormat independent of default locale.Group complex meter types under one event in New Relic.
urlTemplate as nullable for RestTemplateExchangeTagsProviderFunctionTimers no longer return NaN. NaN gauges are not shipped to Graphite.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Support for publishing to New Relic Insights API
micrometer-spring-legacy with names in Spring Boot 2 M7Timer/DistributionSummary max implementations have moved to a ring-buffer based approach to better line up with other summary stats in timeTags#of shortcut for creating a single tag list of tags.PropertyMeterFilter to leverage the getMostSpecific method for looking up additional propertiesFunctionCounter and FunctionTimer are now pollable in the StatsD implementationClock to Dropwizard's Clock type so the underlying Dropwizard meters obey Micrometer's notion of timeFunctionCounter can be made to report exponential moving averages like regular countersFunctionTimer can be made to report exponential moving averages like regular timersCaffeineCacheMetrics constructor is now consistent with other OOTB bindersCompositeMeterRegistry#addMetricsFilter servlet filter now correctly tags HTTP 500 responsesTomcatMetricsConfigurationCumulativeTimer#measureClassCastException in CompositeMeterRegistry#addOne column per quarter.