public MetricValueOptions EnsureContextLabel(MetricValueOptions options) { if (options.Context.IsMissing()) { options.Context = _defaultContextLabel; } return(options); }
public MetricValueOptions EnsureContextLabelAndGlobalTags(MetricValueOptions options) { if (options.Context.IsMissing()) { options.Context = _defaultContextLabel; } //TODO: AH - impure method called options.Tags.With(_globalTags.ToDictionary()); return(options); }