⭐ New Features
- Avoid global publishing alignment in OTLP registry #3794
- Avoid needing compiler parameter metadata in CountedAspect #3780
- Reduces overall memory allocation in DynatraceExporterV2 while exporting #3766
- Consistently add
outcome
tag to all HTTP client instrumentation #3729 - Migrate from Application Insights instrumentation keys to connection strings #3710
- Add supplier variant for Observation.Context.getOrDefault() #3708
- Allow custom sink for LoggingMeterRegistry #3685
- Make cumulative count computations in
takeCountSnapshot
more efficient #3581 - Configurable aggregation temporality for OTLP registry #3145
@Timed
annotation with dynamic tags derived from input arguments and/or output #1732- Metrics support for Netty allocators and event executors #522
- Adds hasAnObservation assertion that allows doing arbitrary assertions + clear method #3679
- Add GC name to gc pause metric #3670
- Add metrics for the total number of application threads started in the JVM #3562
- Jetty Client instrumentation with Observation API #3416
- Add support for using new Elasticsearch
\_index\_template
endpoint for creating index templates. #3320 - OSGi enabled micrometer jars so that they can be deployed as OSGi bundles #3149
- Publish partial step values on application shutdown for step meters #1882
- OTLP registry custom header support #3546
- Add method Observation.observe(Function<C extends Observation.Context, T> function) #3537
- Add support for Azul Prime's (Zing) C4 (GPGC) #2982
- Apache HttpClient 5.x support #2513
- Use Meter.Id for logging in DynatraceExporterV2 #3616
🐞 Bug Fixes
- Set current scope on ObservationRegistry when Scope#makeCurrent is called #3808
- Enclosing scope not being popped #3787
- MicrometerHttpClientInterceptor has no outcome Tag #3790
- OTLP registry publishes incorrect delta values on close #3773
- OTLP delta histogram bucket counts are not aligned to the time window #3772
- Max does not follow the specification for OTLP delta histogram #3771
- StepMeterRegistry closed near a step boundary may lose data #3720
- PushMeterRegistry scheduled publish can collide with publish on close #3711
- Avoid global publishing alignment #2818
📝 Tasks
- Improve StepBucketHistogram #3793
- Polish MeterTag changes #3769
- Add time units to OTel integration tests #3796
- Upgrade to Gradle Wrapper 8.1.1 #3784
❤️ Contributors
Thank you to all the contributors who worked on this release:
@asasas234, @lenin-jaganathan, @cbismuth, @kubamarchwicki, @ThePumpingLemma, @izeye, @jprinet, @pirgeo, @mborgraeve, @taer, @belks, and @ttddyy