10 references to RecordMeasurement
System.Diagnostics.DiagnosticSource (10)
System\Diagnostics\Metrics\Counter.cs (2)
62public void Add(T delta, params ReadOnlySpan<KeyValuePair<string, object?>> tags) => RecordMeasurement(delta, tags); 69public void Add(T delta, params KeyValuePair<string, object?>[] tags) => RecordMeasurement(delta, tags.AsSpan());
System\Diagnostics\Metrics\Gauge.cs (2)
60public void Record(T value, params ReadOnlySpan<KeyValuePair<string, object?>> tags) => RecordMeasurement(value, tags); 67public void Record(T value, params KeyValuePair<string, object?>[] tags) => RecordMeasurement(value, tags.AsSpan());
System\Diagnostics\Metrics\Histogram.cs (2)
64public void Record(T value, params ReadOnlySpan<KeyValuePair<string, object?>> tags) => RecordMeasurement(value, tags); 71public void Record(T value, params KeyValuePair<string, object?>[] tags) => RecordMeasurement(value, tags.AsSpan());
System\Diagnostics\Metrics\Instrument.common.cs (1)
87protected void RecordMeasurement(T measurement) => RecordMeasurement(measurement, Instrument.EmptyTags.AsSpan());
System\Diagnostics\Metrics\Instrument.netcore.cs (1)
51RecordMeasurement(measurement, tagList.Tags);
System\Diagnostics\Metrics\UpDownCounter.cs (2)
61public void Add(T delta, params ReadOnlySpan<KeyValuePair<string, object?>> tags) => RecordMeasurement(delta, tags); 68public void Add(T delta, params KeyValuePair<string, object?>[] tags) => RecordMeasurement(delta, tags.AsSpan());