github mweirauch/micrometer-jvm-extras 0.3.0

6 hours ago

Full Changelog

This (long overdue) release adds support for cgroup memory limit metrics to provide better visibility into container memory usage. Additionally a new set of context switching metrics has been added by @wyhasany as well as performance optimizations by @wyhasany and @ofaizulin to reduce lock contention during metric collection.

On the compatibility front, unsupported metrics are not registered anymore, and the library now includes an Automatic-Module-Name for better integration with the Java module system.

Enhancements:

  • Add cgroup memory metrics (soft, hard and swap limits) #237 (mweirauch)
  • Replace synchronized block with ReentrantLock to avoid possible thread pinning with virtual threads (Java 21) #208 (ofaizulin)
  • Don't register unsupported metrics #202 (mweirauch)
  • Context switching metrics #175 (wyhasany)
  • Minimize lock contention on collecting metrics #174 (wyhasany)
  • Add JPMS Automatic-Module-Name #158 (mweirauch)

Maintenance:

Don't miss a new micrometer-jvm-extras release

NewReleases is sending notifications on new releases.