1 instantiation of Gauge
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\Meter.cs (1)
172
=> (Gauge<T>)GetOrCreateInstrument<T>(typeof(Gauge<T>), name, unit, description, tags, () => new
Gauge
<T>(this, name, unit, description, tags));
5 references to Gauge
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\AggregationManager.cs (1)
341
else if (genericDefType == typeof(
Gauge
<>))
System\Diagnostics\Metrics\Meter.cs (4)
158
public
Gauge
<T> CreateGauge<T>(string name) where T : struct => CreateGauge<T>(name, unit: null, description: null, tags: null);
171
public
Gauge
<T> CreateGauge<T>(string name, string? unit = null, string? description = null, IEnumerable<KeyValuePair<string, object?>>? tags = null) where T : struct
172
=> (
Gauge
<T>)GetOrCreateInstrument<T>(typeof(
Gauge
<T>), name, unit, description, tags, () => new Gauge<T>(this, name, unit, description, tags));