Skip to content

v2.5.7 - More Scala 3 Support & Ignoring Operations

Compare
Choose a tag to compare
@ivantopo ivantopo released this 24 Aug 14:15
· 118 commits to master since this release
ad2e597

Ignoring Metrics and Spans for Specific Operations

We get asked pretty often: how can we disable sampling for health checks and status endpoints? This Kamon Telemetry version comes with a new setting for that:

kamon.trace.ignored-operations = ["/status", "/health", "/ready"]

This has a few advantages over the groups configuration on the adaptive sampler:

  • It works with all samplers, including always and random.
  • It comes with a track-metrics-on-ignored-operations setting, which allows disabling metrics for these operations too (the adaptive sampler would only disable sampling but still track metrics for all operations).

Improvements

  • instrumentation-common: This module is now published for Scala 3 as well. Special thanks to @vaslabs for going the extra mile on that PR 😍. Contributed by @vaslabs via #1191.
  • core: Introduce a new setting to ignore operations and disable metrics for them. Contributed by @ivantopo via #1197