Skip to content

v0.10.0.RELEASE

Pre-release
Pre-release
Compare
Choose a tag to compare
@jkschneider jkschneider released this 18 Aug 22:44
· 6561 commits to main since this release
  • Added CompositeMeterRegistry for shipping metrics to multiple systems.
  • Added Metrics, an all-static class for building meters against a global static composite registry. Using this is the new recommended approach for common libraries.
  • Added a NamingConvention interface, a config option to set a naming convention on a registry, and added default naming conventions for all supported monitoring systems.
  • Moved longTaskTimer behind MeterRegistry.more(), where more esoteric meter patterns will live as they are added.
  • New MeterRegistry.find(...) fluent builder for finding meters with a particular type, name, set of tags, value, etc.
  • HierarchicalNameMapper is now a functional interface.
  • Eliminated the old Meters.monitor(...) type builders, and put the monitor method on each binder (e.g. for Guava cache metrics, you now use GuavaCacheMetrics.monitor(...). This prevents runtime issues related to missing optional dependencies.
  • Added instrumentation for Caffeine caches.