Releases: micrometer-metrics/micrometer
1.10.0-M1
We previously published 2.0.0 milestones: 2.0.0-M1, 2.0.0-M2, and 2.0.0-M3. These were pre-release milestones in work towards a 2.0.0 GA release. We are changing direction. Features that were being worked on for that 2.0 release will instead be released as a 1.10.0 GA version that maintains compatibility with the 1.x line. This preview release is a milestone of that work that will eventually be released as a GA 1.10.0.
See the 1.10 Migration Guide for more details.
Upgrading from 2.0.0-M3
The micrometer-binders module has been reverted (#3119). Update your imports of binders to the previous package in micrometer-core io.micrometer.core.instrument.binder
. Remove any dependencies on the micrometer-binders
module; this is no longer published.
Changes since 2.0.0-M3
⭐ New Features / Enhancements
- Use more generic KeyValue terminology in Observation and Common module #3126
- NOOP Observation should be created when no handlers are registered #3105
- MeterRegistryAssert provides checks for all type of meters #3104
- Add MongoCommandStartedEventTags for Mongodb metrics #3069
- Make _source.enabled configurable for ElasticMeterRegistry #2363
🐞 Bug Fixes
- Provider better APIs to move between Instrument Tags and Commons Tags #3102
🔨 Dependency Upgrades
- Bump context propagation to 1.0.0-M2 #3133
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
1.9.0-RC1
Note: This is a pre-production preview release for the purposes of early testing. See the Milestone releases section of the README.
Upgrading from 1.9.0-M4
The micrometer-binders module has been reverted (#3119). Update your imports of binders to the previous package in micrometer-core
io.micrometer.core.instrument.binder
. Remove any dependencies on the micrometer-binders
module; this is no longer published.
⭐ New Features
- Add resettable DistributionSummary and Timer for Dynatrace registry #3093
- Add capability to correctly export fixed buckets histogram to SignalFx #2977
- OpenTelemetry Protocol (OTLP) MeterRegistry #2864
- Exemplars support for Prometheus Histogram #2812
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
1.8.5
1.7.11
1.9.0-M4
See the 1.9 migration guide for more information on replacing code deprecated in 1.9.
⭐ New Features / Enhancements
- Deprecating core.instrument.binder and move classes to binder package #3043
- Exemplars support for Prometheus Counter #2811
- Be able to target classes and not only methods with TimedAspect #493
- Prevent CompositeMeter allocating on each record #3059
🐞 Bug Fixes
- Dynatrace file-based configuration slow on macOS #3035
🔨 Dependency Upgrades
- Upgrade to Reactor 2020.0.17 and Netty 4.1.75 #3084
- Upgrade to Amazon AWS SDK 1.12.178 and 2.17.149 #3078
- Upgrade to Mockito 4.4.0 #3077
- Upgrade archunit to 0.23.1 and awaitility to 4.2.0 #3076
- Upgrade to logback 1.2.11 #3075
- Upgrade to Dropwizard Metrics 4.1.31 #3074
📝 Tasks
- Unpin google-cloud-monitoring dependency #3081
- Simplify tests after Dynatrace Metric Utils 1.5.0 release #3065
- Move cache and http core classes back to core #3050
- Add integration tests for Elasticsearch 8 #3037
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
1.8.4
⭐ New Features
- Prevent CompositeMeter allocating on each record #3059
🔨 Dependency Upgrades
- Upgrade to Reactor 2020.0.17 and Netty 4.1.75 #3084
- Upgrade to Amazon AWS SDK 1.12.178 and 2.17.149 #3078
- Upgrade to Mockito 4.4.0 #3077
- Upgrade archunit to 0.23.1 and awaitility to 4.2.0 #3076
- Upgrade to logback 1.2.11 #3075
- Upgrade to Dropwizard Metrics 4.1.31 #3074
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
1.7.10
⭐ New Features
- Prevent CompositeMeter allocating on each record #3059
🔨 Dependency Upgrades
- Upgrade archunit to 0.23.1 and awaitility to 4.2.0 #3076
- Upgrade to logback 1.2.11 #3075
- Upgrade to Dropwizard Metrics 4.1.31 #3074
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
2.0.0-M3
⚠️ The artifacts of this release were removed
We were working towards a 2.0.0 release and published some pre-release milestone versions - M1 through M3. Since then, we transitioned that work to a 1.10.0 release instead. For the time being, we do not have concrete plans of a 2.0 release.
To avoid confusion and issues with resolving the latest version, we deleted the 2.0.0 artifacts from our repositories. If a user had any of these repositories declared, and they tried to resolve the latest version of Micrometer, they got 2.0.0-M3. Without deleting the 2.0.0 artifacts, no matter how many new versions (1.x) we release, 2.0 releases are considered latest. We want it to resolve the newer 1.10.x releases instead so we deleted the 2.0.0 artifacts.
Original release notes
Upgrading from 2.0.0-M2
- The micrometer-api module that was introduced in 2.0.0-M2 has been reverted. The classes that were moved to micrometer-api are back in micrometer-core at the same location they are in 1.x.
- A new micrometer-binders module is being introduced in 1.9.0-M4 (also included in this milestone release). See the 1.9 migration guide for more information.
⭐ New Features
- Added Global Tags Provider #3061
- Add observeChecked methods to observe methods that can throw exceptions #3052
- Merge micrometer-binder changes and revert micrometer-api changes #3046
- Add observe method to the Observation for Runnable and Supplier #3040
- Observation text publisher #3034
Iterable<Tag>
vsIterable<? extends Tag>
#2092- Add base units for ForkJoinPool #1525
🔨 Dependency Upgrades
- Pin to context-propagation-api 1.0.0-M1 #3072
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
1.9.0-M3
⭐ New Features / Enhancements
- Support writing to elastic data streams #2996
- Allow file-based configuration for Dynatrace v2 exporter #2916
🐞 Bug Fixes
- Dynatrace v2 ingestion reporting "inconsistent gauge fields" #3007
- Failed to record timer metrics in native image with percentiles configured #3002
- Correct PostgreSQL metrics for dead tuples, with integration tests and refactoring #2474
🔨 Dependency Upgrades
- Upgrade Mockito to 4.3.1 #3029
- Upgrade AWS SDK v1 to 1.12.158 and v2 to 2.17.129 #3028
- Upgrade Netty to 4.1.74.Final #3026
- Upgrade Javaformat to 0.0.31 #3025
- Upgrade JUnit to 5.8.2 and Testcontainers to 1.16.3 #3024
- Upgrade Dropwizard Metrics to 4.1.30 #3023
- Upgrade Slf4J to 1.7.36 #3022
- Upgrade to Gradle Wrapper 7.4 #3001
- Upgrade build jdk to 17.0.2, 8.0.322 #2988
📝 Tasks
- Replace deprecated AbstractLifeCycleListener usage in Jetty tests #3014
- Upgrade Elasticsearch Docker image to 7.16.3 in integration tests #2986
- Use Testcontainers for MongoDB integration tests #2984
- Pin spectator-api to 1.0.+ for Micrometer 1.8.x #3027
- Store the Meter.Id instead of the Meter in KafkaMetrics #2991
- Bump up Gradle plugin dependencies #2979
- Use branch name in dependencies cache key for CircleCI #2975
- Upgrade to Gradle Shadow plugin 7.1.2 #2973
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
1.8.3
🐞 Bug Fixes
- Dynatrace v2 ingestion reporting "inconsistent gauge fields" #3007
- Failed to record timer metrics in native image with percentiles configured #3002
- Correct PostgreSQL metrics for dead tuples, with integration tests and refactoring #2474
🔨 Dependency Upgrades
- Upgrade Mockito to 4.3.1 #3029
- Upgrade AWS SDK v1 to 1.12.158 and v2 to 2.17.129 #3028
- Upgrade Netty to 4.1.74.Final #3026
- Upgrade Javaformat to 0.0.31 #3025
- Upgrade JUnit to 5.8.2 and Testcontainers to 1.16.3 #3024
- Upgrade Dropwizard Metrics to 4.1.30 #3023
- Upgrade Slf4J to 1.7.36 #3022
- Upgrade to Gradle Wrapper 7.4 #3001
- Upgrade build jdk to 17.0.2, 8.0.322 #2988
📝 Tasks
- Pin spectator-api to 1.0.+ for Micrometer 1.8.x #3027
- Store the Meter.Id instead of the Meter in KafkaMetrics #2991
- Bump up Gradle plugin dependencies #2979
- Use branch name in dependencies cache key for CircleCI #2975
- Upgrade to Gradle Shadow plugin 7.1.2 #2973
❤️ Contributors
We'd like to thank all the contributors who worked on this release!