github micrometer-metrics/micrometer v1.16.0-M1
1.16.0-M1

latest releases: v1.16.0-M2, v1.15.3, v1.14.10...
pre-releaseone month ago

⚠️ Noteworthy

  • Remove deprecated io.micrometer.core.lang annotations #6407
  • Register JCache cache.removals as a FunctionCounter by default #2754

⭐ New Features

  • Add KeyName.withNoneValue() #6125
  • Add getAll to Getter for repeated metadata #6312
  • Enhance logging of negative amount in AbstractTimer.record() by printing stack trace #6530
  • Flag to register JCache cache.removals as FunctionCounter #6471
  • Improved Meter.Id#getTags() performance #6182
  • Jakarta Mail instrumentation #5985
  • Log requests as trace level for OtlpMeterRegistry #6514
  • Make KafkaMetrics refresh interval configurable #6319
  • Migrate to JSpecify annotations for nullability constraints #5547
  • Provide meter count in HighCardinalityTagsDetector #6510
  • StackdriverConfig option to not create metric descriptors #6281
  • Use String.replace() where possible #6449

🐞 Bug Fixes

  • Distribution without percentiles always has value 0 in Stackdriver #6401
  • Incompatible with slf4j 2 in OSGi #6406
  • LongTaskTimer#measure does not return max duration #6421
  • Return NaN for null KafkaMetrics values #6324
  • Scrape failure when conflicting meter types are registered #6434
  • ValueResolver and ValueExpressionResolver nullability is inconsistent #6280

📔 Documentation

🔨 Dependency Upgrades

  • Bump software.amazon.awssdk:cloudwatch from 2.31.41 to 2.31.78 #6525
  • Bump io.prometheus:prometheus-metrics-bom from 1.3.6 to 1.3.10 #6523
  • Bump com.google.cloud:libraries-bom from 26.60.0 to 26.63.0 #6497
  • Bump com.netflix.spectator:spectator-reg-atlas from 1.8.12 to 1.8.16 #6482
  • Bump com.google.cloud:google-cloud-monitoring from 3.63.0 to 3.68.0 #6474
  • Bump com.google.auth:google-auth-library-oauth2-http from 1.34.0 to 1.37.1 #6437
  • Bump dropwizard-metrics from 4.2.30 to 4.2.33 #6436
  • Bump io.dropwizard.metrics5:metrics-core from 5.0.0 to 5.0.1 #6435
  • Bump io.opentelemetry.proto:opentelemetry-proto from 1.5.0-alpha to 1.7.0-alpha #6290

📝 Tasks

  • Remove optional jsr305 dependency where not needed #6493
  • Make benchmark module require at least Java 17 #6469
  • Missing @NullMarked #6433
  • Deprecate micrometer-commons nullability annotations in favor of jSpecify #6425
  • Add JDK 24 build job #6400
  • Update japicmp config for 1.16.0 development #6242

❤️ Contributors

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

@etki, @Shaderbug, @MemencioPerez, @famaridon, @izeye, @msqr, and @thonra

Don't miss a new micrometer release

NewReleases is sending notifications on new releases.