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:
- Bump com.google.guava:guava-testlib from 31.0.1-jre to 33.3.0-jre #209 (dependabot[bot])
- Prevent CI double execution #238 (mweirauch)
- Bump org.mockito:mockito-core from 5.21.0 to 5.23.0 #236 (dependabot[bot])
- Bump org.basepom:basepom-oss from 67 to 68 #234 (dependabot[bot])
- Bump junit-jupiter.version from 6.0.2 to 6.0.3 #233 (dependabot[bot])
- Bump org.assertj:assertj-core from 3.27.6 to 3.27.7 #232 (dependabot[bot])
- Bump actions/checkout from 5 to 6 #231 (dependabot[bot])
- Bump actions/cache from 4 to 5 #230 (dependabot[bot])
- Bump slf4j.version from 1.7.32 to 1.7.36 #229 (dependabot[bot])
- Fix test execution after Mockito update #228 (mweirauch)
- Address SonarCloud issues #227 (mweirauch)
- Migrate to JUnit Jupiter #226 (mweirauch)
- Update to basepom-oss 67 #225 (mweirauch)
- Update to basepom-oss 66 #224 (mweirauch)
- Bump org.mockito:mockito-core from 3.6.28 to 5.21.0 #222 (dependabot[bot])
- Bump com.google.guava:guava-testlib from 33.3.0-jre to 33.5.0-jre #221 (dependabot[bot])
- Bump io.micrometer:micrometer-core from 1.7.6 to 1.9.17 #218 (dependabot[bot])
- Update Dependabot configuration #217 (mweirauch)
- Update GitHub Actions #215 (mweirauch)
- Bump jmh.version from 1.33 to 1.37 #213 (dependabot[bot])
- Bump org.basepom:basepom-oss from 42 to 59 #212 (dependabot[bot])
- Fix shields.io GitHub Actions badge #201 (mweirauch)
- Drop smaps code #157 (mweirauch)
- Bump micrometer-core to 1.7.6 #149 (mweirauch)
- Bump basepom-oss to 42 and switch the build to Java 11 #148 (mweirauch)
- Bump guava-testlib from 30.1-jre to 31.0.1-jre #144 (dependabot[bot])
- Bump jmh.version from 1.27 to 1.33 #138 (dependabot[bot])
- Bump slf4j.version from 1.7.30 to 1.7.32 #137 (dependabot[bot])