Skip to content

Releases: micrometer-metrics/micrometer

1.16.0-M1

14 Jul 21:17
v1.16.0-M1
acd9ed3
Compare
Choose a tag to compare
1.16.0-M1 Pre-release
Pre-release

⚠️ 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

1.15.2

14 Jul 02:30
41f3deb
Compare
Choose a tag to compare

⭐ New Features

  • Flag to register JCache cache.removals as FunctionCounter #6471
  • Log requests as trace level for OtlpMeterRegistry #6514
  • 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

❤️ Contributors

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

@izeye, and @msqr

1.14.9

14 Jul 01:40
ce35fb3
Compare
Choose a tag to compare

⭐ New Features

  • Log requests as trace level for OtlpMeterRegistry #6514
  • Use String.replace() where possible #6449
  • Flag to register JCache cache.removals as FunctionCounter #6471

🐞 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

❤️ Contributors

@izeye, @msqr
Thank you to all the contributors who worked on this release:

1.15.1

09 Jun 20:21
v1.15.1
315a851
Compare
Choose a tag to compare

🐞 Bug Fixes

  • IndexProviderFactory throws ConcurrentModificationException #6243
  • Make InstrumentationVerificationTests compatible with JUnit 5.13 and earlier versions #6344
  • gRPC client interceptor incorrectly registers status CANCELLED as error #6261

🔨 Dependency Upgrades

  • Bump software.amazon.awssdk:cloudwatch from 2.31.41 to 2.31.58 #6372
  • Bump com.netflix.spectator:spectator-reg-atlas from 1.8.12 to 1.8.14 #6336
  • Bump dropwizard-metrics from 4.2.30 to 4.2.32 #6307
  • Bump io.prometheus:prometheus-metrics-bom from 1.3.7 to 1.3.8 #6306
  • Bump io.prometheus:prometheus-metrics-bom from 1.3.6 to 1.3.7 #6241

📝 Tasks

  • Remove AtomicReference from StatsdMeterRegistryTest #6311
  • Remove java11Test setup from micrometer-test #6293
  • Polish StatsD line builders #6285
  • Improve StatsD tests #6284
  • Resolve StringSplitter from Error Prone #6271
  • Resolve EqualsGetClass from Error Prone #6263
  • Resolve ClassCanBeStatic from Error Prone #6253
  • Resolve InlineFormatString from Error Prone #6232
  • Add more tests for TimedHandler #6227
  • Replace TimeUtils usage to TimeUnit where applicable #6224

❤️ Contributors

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

@izeye, @kwondh5217, @cfredri4, and @ngocnhan-tran1996

1.14.8

09 Jun 19:45
v1.14.8
17ff40b
Compare
Choose a tag to compare

🐞 Bug Fixes

  • IndexProviderFactory throws ConcurrentModificationException #6243
  • Make InstrumentationVerificationTests compatible with JUnit 5.13 and earlier versions #6344
  • gRPC client interceptor incorrectly registers status CANCELLED as error #6261

🔨 Dependency Upgrades

  • Bump com.netflix.spectator:spectator-reg-atlas from 1.8.13 to 1.8.14 #6341
  • Bump dropwizard-metrics from 4.2.30 to 4.2.32 #6304
  • Bump io.prometheus:prometheus-metrics-bom from 1.3.6 to 1.3.8 #6305

📝 Tasks

  • Remove AtomicReference from StatsdMeterRegistryTest #6311
  • Remove java11Test setup from micrometer-test #6293
  • Polish StatsD line builders #6285
  • Improve StatsD tests #6284
  • Resolve StringSplitter from Error Prone #6271
  • Resolve EqualsGetClass from Error Prone #6263
  • Resolve ClassCanBeStatic from Error Prone #6253
  • Resolve InlineFormatString from Error Prone #6232
  • Add more tests for TimedHandler #6227
  • Replace TimeUtils usage to TimeUnit where applicable #6224

❤️ Contributors

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

@izeye, @kwondh5217, @cfredri4, and @ngocnhan-tran1996

1.13.15

09 Jun 18:54
v1.13.15
606afaf
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Make InstrumentationVerificationTests compatible with JUnit 5.13 and earlier versions #6344
  • gRPC client interceptor incorrectly registers status CANCELLED as error #6261

🔨 Dependency Upgrades

  • Bump dropwizard-metrics from 4.2.30 to 4.2.32 #6300

📝 Tasks

  • Remove AtomicReference from StatsdMeterRegistryTest #6311
  • Remove java11Test setup from micrometer-test #6293
  • Polish StatsD line builders #6285
  • Improve StatsD tests #6284
  • Resolve StringSplitter from Error Prone #6271
  • Resolve EqualsGetClass from Error Prone #6263
  • Resolve ClassCanBeStatic from Error Prone #6253
  • Resolve InlineFormatString from Error Prone #6232
  • Add more tests for TimedHandler #6227
  • Replace TimeUtils usage to TimeUnit where applicable #6224

❤️ Contributors

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

@izeye, @kwondh5217, @cfredri4, and @ngocnhan-tran1996

1.15.0

13 May 02:12
e13042b
Compare
Choose a tag to compare

Below includes changes from all milestones and release candidates for the 1.15.0 release.

⭐ New Features

  • Further enhancement to OtlpMetricsSender #6025
  • Make Prometheus Metric and Label naming conventions consistent #5923
  • Metrics for Executors.newVirtualThreadPerTaskExecutor() #5488
  • Metrics for live virtual threads #5950
  • More flexible OTLP per meter configuration #6099
  • Prometheus/OpenMetrics _created timestamp #2625
  • Make jvm.classes.unloaded description generic #5745
  • Use String.toLowerCase()/toUpperCase() with Locale.ROOT consistently #5711
  • Use failWithActualExpectedAndMessage() where possible #5696
  • Provide target host/port info in ObservationExecChainHandler when HttpHostConnectException is thrown #5615
  • Enable Gauge builders to take a subclass of Number #5601
  • micrometer-observation-test support for assertions on events #5576
  • Log delta count in addition to throughput in LoggingMeterRegistry #5548
  • Add peer name and port to gRPC observation contexts #3512
  • Use direct equals call instead of Objects.equals wrapper #5840
  • Remove special handling of 404/301 from JDK HTTP client instrumentation #5838
  • Make Timer and LongTaskTimer output similar in LoggingMeterRegistry #5835
  • Remove special handling of 404 and redirection statuses from Jetty client instrumentation #5825
  • Log deprecation warning when creating SignalFxMeterRegistry #5824
  • Log metrics recording failures in CountedAspect and TimedAspect #5820
  • Remove special handling of 404/301 from OkHttp instrumentation #5814
  • Support AutoShutdownDelegatedExecutorService in ExecutorServiceMetrics #5811
  • Deprecate micrometer-registry-signalfx in favor of micrometer-registry-otlp #5807
  • Rebind Log4j2Metrics when LoggerContext#reconfigure is called #5756
  • Send metrics via any protocol in the OTLP Registry #5690
  • Improve average performance of DefaultLongTaskTimer for out-of-order stopping #5591
  • Improve OtlpMetricsSender API #5994
  • Support configuring exponential histograms at the meter level #5459
  • Allow TimedAspect/CountedAspect to create tags based on method result #3058

🐞 Bug Fixes

  • Do not leak OTLP types on public-facing API #5699
  • micrometer-observation-test brings unnecessary JUnit dependencies, leading to conflicts #6012

🔨 Dependency Upgrades

  • Bump io.opentelemetry.proto:opentelemetry-proto from 1.4.0-alpha to 1.5.0-alpha #5798
  • Bump com.google.cloud:libraries-bom from 26.55.0 to 26.56.0 #5991
  • Bump com.google.cloud:google-cloud-monitoring from 3.59.0 to 3.60.0 #5986
  • Bump com.google.auth:google-auth-library-oauth2-http from 1.32.1 to 1.33.0 #5963
  • Bump software.amazon.awssdk:cloudwatch from 2.29.46 to 2.30.11 #5863

❤️ Contributors

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

@izeye, @ngocnhan-tran1996, @s-ste, @ttddyy, @big-cir, @breedx-splk, @fogninid, @turbanoff

1.14.7

12 May 08:26
b6e5031
Compare
Choose a tag to compare

⭐ New Features

  • Replace Meter.Id.getTags() with cheaper alternatives #6147

🐞 Bug Fixes

  • MultiGauge doesn't work with MeterFilter.map() #6146
  • Record cache.size in CaffeineCacheMetrics without enabling recordStats() #6128
  • TimedHandler shutdown hanging indefinitely #6194
  • Use snapshot consistently in AppOpticsMeterRegistry.writeSummary() #6181

❤️ Contributors

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

@AlexElin, @RafeArnold, and @izeye

1.13.14

12 May 06:44
a3ae027
Compare
Choose a tag to compare

⭐ New Features

  • Replace Meter.Id.getTags() with cheaper alternatives #6147

🐞 Bug Fixes

  • MultiGauge doesn't work with MeterFilter.map() #6146
  • TimedHandler shutdown hanging indefinitely #6194
  • Use snapshot consistently in AppOpticsMeterRegistry.writeSummary() #6181

❤️ Contributors

Thank you to all the contributors who worked on this release:
@AlexElin, @RafeArnold, and @izeye

1.15.0-RC1

15 Apr 04:26
815f0c4
Compare
Choose a tag to compare
1.15.0-RC1 Pre-release
Pre-release

⭐ New Features

  • Further enhancement to OtlpMetricsSender #6025
  • Make Prometheus Metric and Label naming conventions consistent #5923
  • Metrics for Executors.newVirtualThreadPerTaskExecutor() #5488
  • More flexible OTLP per meter configuration #6099
  • Prometheus/OpenMetrics _created timestamp #2625
  • Metrics for live virtual threads #5950

🐞 Bug Fixes

  • Gauge double registration warning for Kafka metrics #5757
  • Log warning about "function" meter re-registration #6070
  • micrometer-observation-test brings unnecessary JUnit dependencies, leading to conflicts #6012

❤️ Contributors

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

@izeye