github micrometer-metrics/micrometer v1.9.0
1.9.0

latest releases: v1.13.1, v1.12.7, v1.13.0...
2 years ago

Micrometer 1.9.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.

⚠️ Noteworthy

  • ReactorNettySender has been removed. See #2802
  • Remove superseded micrometer-jersey2 module #2865
  • Remove deprecated RegistryResolver #2815

⭐ New Features / Enhancements

  • Config for OTLP Resource attributes #3159
  • Dynatrace registry: Print ignored config warning only when necessary #3155
  • Dynatrace registry: Truncate log output #3148
  • 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
  • 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
  • Support writing to elastic data streams #2996
  • Allow file-based configuration for Dynatrace v2 exporter #2916
  • Add method to SimpleMeterRegistry for outputting all meters #2946

🐞 Bug Fixes

  • OTLP resource service name is always unknown #3146
  • Dynatrace file-based configuration slow on macOS #3035
  • 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 cycle between micrometer-core and reactor-netty caused by ReactorNettySender #2802
  • Netty HTTP codec module included in statsd JAR #2929
  • LongTaskTimer always converts durations of measurements to nanos #2947
  • Statsd meter recordings are dropped when submitted from parallel threads #2880
  • KafkaMetrics' refresh scheduler can stop in some corner cases #2879
  • jvm.gc.live.data.size and max not updating for optavgpause/optthruput collectors #2874
  • Intermittent GC data size metrics with Shenandoah and ZGC #2872
  • MetricsRequestEventListener with @Timed(longTask=true) makes two meters #2861

📔 Documentation

  • Automate non-Javadoc multi-line comments for license headers #2942
  • Switch license header to a multiline comment instead of JavaDoc #2412

🔨 Dependency Upgrades

  • Upgrade Spectator to 1.3.2 #3168
  • Upgrade to Mockito 4.5.1 #3167
  • Upgrade to AWS SDK v1 1.12.217 and v2 2.17.188 #3166
  • Upgrade to Reactor 3.4.18, Reactor-Netty 1.0.19, Netty 4.1.77.Final #3165
  • Upgrade to JMH 1.35 #3164
  • Upgrade to Testcontainers 1.17.1 #3163
  • Upgrade to Wiremock 2.33.2 #3162
  • Upgrade to SignalFx 1.0.18 #3161
  • 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
  • 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](#2988
  • Pin Dropwizard 4.+ instead of 4.0.+ #2905
  • Upgrade Spring Boot to 2.6.2 (samples) #2968
  • Upgrade JMH to 1.34 #2967
  • Upgrade Mockito to 4.2.0 #2966
  • Upgrade AWS SDK v1 to 1.12.136 and AWS SDK v2 to 2.17.107 #2964
  • Upgrade Spectator to 1.0.14 #2963
  • Upgrade to Reactor 2020.0.15 #2974
  • Upgrade JUnit platform to 1.7.2 and vintage-engine to 5.7.2 #2962
  • Upgrade awaitility to 4.1.1 #2961
  • Upgrade Testcontainers to 1.16.2 #2960
  • Upgrade ArchUnit to 0.22.0 #2959
  • Upgrade spring-javaformat to 0.0.29 #2958
  • Upgrade Spring Boot to 2.4.13 (samples) #2957
  • Upgrade AssertJ to 3.22.0 #2956
  • Upgrade SignalFx to 1.0.14 #2955
  • Upgrade Dropwizard Metrics to 4.1.29 #2954
  • Upgrade to Azure ApplicationInsights 2.6.4 #2953
  • Upgrade Logback to 1.2.10 #2952
  • Upgrade to Log4j 2 2.17.1 #2937
  • Upgrade JUnit to 5.8.2 and Mockito to 4.1.0 #2902
  • Upgrade AWS SDK V1 to 1.12.126 and V2 to 2.17.97 #2900
  • Upgrade Spectator to 1.0.7 #2899
  • Upgrade JMH to 1.33 #2898
  • Upgrade Wiremock to 2.32.0 #2897
  • Upgrade logback to 1.2.7 #2896

📝 Tasks

  • Polish OTLP registry changes #3153
  • Typo in OtlpLongTaskTImer #3147
  • 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
  • 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
  • Pinning Prometheus to 0.12.x for Micrometer 1.8.x #2965
  • Upgrade to Gradle Enterprise Gradle plugin 3.8 #2949
  • Backport test improvements from 2.0.x to 1.7.x #2943
  • Use daemon thread in CommonsObjectPool2Metrics #2938
  • Suppress "warning: no comment" in javadoc task #2935
  • Disable javadoc task for sample projects #2934
  • Upgrade to Gradle Wrapper 7.3.3 #2931
  • Upgrade build images to JDK 8.0.312 and 11.0.13 #2919
  • Upgrade build machine image to ubuntu-2004:202111-01 #2913
  • Upgrade build images to JDK 17.0.1, 11.0.12, 8.0.302 #2912
  • Use Javadoc code instead of Markdown backticks #2907
  • Generate lock files for 1.9.0-M1 #2903
  • Remove superseded micrometer-jersey2 module #2865
  • Remove deprecated RegistryResolver #2815
  • Locking dynatrace-metric-utils-java to 1.1.+ #2901
  • Update samples to use Spring Boot 2.6.1 #2891
  • Deprecate ReactorNettySenderTest #2884
  • Upgrade to Gradle Wrapper 7.3.1 #2882
  • Update Gradle Enterprise Plugin to 3.7.2 #2869

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

Don't miss a new micrometer release

NewReleases is sending notifications on new releases.