Skip to content

Release v7.21.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 20:57
86d570c

Added

  • Support explicit metric and span tag names with Cratis.Diagnostics.TagAttribute and UCUM unit arguments for counters and gauges. Existing two-argument counter and gauge declarations remain supported, and units and explicit tag keys preserve quotes, backslashes, and line breaks. (#1140)
  • Support generated scoped and unscoped histogram measurements, recording through the supplied meter instance even when the same method is used with differently named or versioned meters. (#1140)
  • Support instrumentation scope versions in AddNamedActivitySource and AddNamedMeter, retaining the existing overloads and their default versions. Per-type activity sources must be explicitly subscribed to by your telemetry provider. (#1140)

Fixed

  • Record generated scoped and unscoped counters and gauges through the supplied meter instance, including when switching meters or disposing a previously used meter. (#1140)
  • Generate valid metric implementations for parameters named tags, key, or value. (#1140)
  • Avoid duplicating parameter attributes on generated metric and span implementations. (#1140)
  • Preserve escaped keyword parameter names, such as @event, when recording metric and span tags. (#1140)