Skip to content

1.18.0

Latest

Choose a tag to compare

@shakuzen shakuzen released this 19 Nov 22:23
0c42a48

⚠️ Noteworthy

  • Atlas FunctionTimer behavior change: AtlasMeterRegistry now publishes FunctionTimer statistics (count and totalTime) as per-second rates instead of gauges (#8108). With the default 1-minute step, published values will be ~60x lower than before; any dashboard queries or alert rules dividing by 60 should be updated. See the 1.18 Migration Guide for details.
  • Deprecate for removal the registry for EOL AppOptics #7954
  • Remove EOL and deprecated Wavefront module #7625
  • Make inclusion of LongTaskTimer by DefaultMeterObservationHandler opt-in instead of opt-out #7312
  • State objects should not be nullable for function-based meter registration #6416
  • Replace the OpenTelemetry protobuf library #5658
  • Add config option to compress Datadog payload #2297

⭐ New Features

  • Support fractional updates for Atlas counters #8109
  • Send the Datadog API keys in the headers #7894
  • Update MultiGauge Gauges instead of remove/add #7851
  • Prometheus: reduce allocations for histogram buckets #7838
  • Skip registering Hazelcast meters when statistics are not enabled #7568
  • Include HTTP/2 GlobalRequestProcessor MBean in TomcatMetrics #7535
  • Introduce per-convention meter convention types and builder pattern #7369
  • Add Gauges for memory pool usage after GC #7296
  • Configure a custom JmsProcessObservationConvention or JmsPublishObservationConvention #5492
  • Optimize PrometheusMeterRegistry and MicrometerCollector snapshot collection #7802
  • Skip registering JCache meters when statistics are not enabled #7562
  • Fail collision validation at registration instead of at scrape with typed Prometheus family descriptors #7487
  • Prometheus: unnecessary allocation and validation performed on every scrape #7450
  • Bump Kotlin target from 1.8 to 2.0 #7338
  • Add option for time-based FunctionCounter #7329
  • Remove lastScope field and deprecated implementations from SimpleObservation #7273
  • Replace the OpenTelemetry protobuf library #5658
  • KeyValue support for Observation.Event #5238
  • Add config option to compress Datadog payload #2297

🐞 Bug Fixes

  • Missing reflection hint for getProcessCpuTime #7911
  • Kotlin interoperability for CaffeineCacheMetrics broken/requires unchecked cast to work #7582
  • Registering/Updating a MultiGauge while a Prometheus scrape occurs can lead to DuplicateLabelsException #6851
  • OTLP histogram bucket count does not equal count intermittently #6006
  • OTLP publishing fails if a cumulative LongTaskTimer present with a histogram #7830
  • Race condition in registry searching and MeterNotFoundException creation may result in a failure that looks as if it should have succeeded #2307
  • ClassNotFoundException: org.LatencyUtils.PauseDetector is thrown when introspecting AbstractTimer #7815
  • Prometheus custom meters: creation timestamps are incorrect #7798
  • Fix memory leak/NPE in MicrometerHttpClientInterceptor (HC4 & HC5)
  • Sanitize line terminators in Dogstatsd, Etsy StatsD, and LoggingMeterRegistry

📔 Documentation

  • Document best practice about configuring registries on a composite #7367
  • Add documentation for LoggingMeterRegistry #8148
  • Document that a MultiGauge reference should be kept #8140

🔨 Dependency Upgrades

  • Bump software.amazon.awssdk:cloudwatch from 2.46.5 to 2.59.0 #8193
  • Bump com.netflix.spectator:spectator-reg-atlas from 1.9.9 to 1.10.10 #8185
  • Bump com.google.cloud:libraries-bom from 26.83.0 to 26.93.0 #8171
  • Bump com.google.cloud:google-cloud-monitoring from 3.94.0 to 3.103.0 #8170
  • Bump com.google.auth:google-auth-library-oauth2-http from 1.48.0 to 1.57.0 #8167
  • Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.5.0 to 2.6.0 #8145
  • Bump io.netty:netty-bom from 4.2.17.Final to 4.2.20.Final #8146
  • Bump io.prometheus:prometheus-metrics-bom from 1.7.0 to 1.10.0 #8091
  • Bump dropwizard-metrics from 4.2.39 to 4.2.40 #7898
  • Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.7.3 to 1.11.0 #7476

📝 Tasks

  • Bump biz.aQute.bnd:biz.aQute.bnd.gradle from 7.4.0 to 7.5.0 #8189
  • Bump jetty12 from 12.0.40 to 12.1.15 #8181
  • Bump gradle-wrapper from 9.8.2 to 9.9.1 #8179
  • Bump com.fasterxml.jackson.core:jackson-databind from 2.21.7 to 2.23.0 #8175
  • Bump com.netflix.nebula:nebula-release-plugin from 21.1.4 to 21.2.0 #8173
  • Bump io.opentelemetry:opentelemetry-bom from 1.67.0 to 1.68.0 #8168
  • Bump aspectjweaver from 1.9.25 to 1.9.27 #8155
  • Run the release train test workflow on bigger runners #8196
  • Keep HdrHistogram types out of TimeWindowPercentileHistogram signature #8118
  • Fix tests passing null state objects #7875
  • Upgrade minor versions of shaded OTel dependencies #7847
  • Remove EOL and deprecated Wavefront module #7625
  • Setup reproducible builds #7962
  • Do not add web fonts to javadoc #7895
  • Remove buildscript cacheDynamicVersionsFor configuration #7885
  • Apply Spotless plugin only to Kotlin projects #7884
  • Make testModules task incremental #7883
  • Make japicmp baseline dependency declarative #7882
  • Migrate Develocity to ge.spring.io #7878
  • POM properties can be misleading #7859
  • Wait for InfluxDB readiness in TelegrafStatsdLineBuilderIntegrationTest #7909
  • Fix StatsdMeterRegistry client readiness check in tests #7874
  • Add sample to print out OTLP output in a human readable format #7832
  • Fix ineffective ExemplarSampler cache in DefaultExemplarSamplerFactory #7657
  • Note micrometer-jetty11 deprecation in the artifact description #7651
  • Fix version of hotfix snapshots #8172
  • Upgrade github-actions-workflow-generator to 0.0.9 #8165
  • Remove AJC build hack #8157
  • Upgrade cimg/openjdk images #8126
  • Bump com.squareup.okhttp3:okhttp from 4.12.0 to 4.12.1 #8111

❤️ Contributors

Thank you to all the contributors who worked on this release:

@brharrington, @anjeongkyun, @jewoodev, @m-burst, @ragulshanmugam, @pchesneau, @cfcromn, @schiemon, @bogdandrutu, @nick-montana, @alxkm, @zeitlinger, @arimu1, @kalayciburak, @antonio-pedro99, and @akshit-khandelwal47