Struct KevlarMetricEnrichmentContext
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Provides callback-scoped information for a Kevlar metric measurement.
public readonly struct KevlarMetricEnrichmentContext
- Inherited Members
Remarks
The context and its tag collection are valid only for the duration of Enrich(in KevlarMetricEnrichmentContext).
Properties
Context
Gets the active execution context, or null for measurements outside an execution such as state collection, circuit transitions, and partition evictions.
public KevlarContext? Context { get; }
Property Value
InstrumentName
Gets the metric instrument name.
public string InstrumentName { get; }
Property Value
Tags
Gets the mutable collection containing built-in and application-defined tags.
public IList<KeyValuePair<string, object?>> Tags { get; }