1 write to Unit
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\Instrument.cs (1)
72
Unit
= unit;
10 references to Unit
Microsoft.Extensions.Diagnostics (1)
Metrics\DebugConsoleMetricListener.cs (1)
64
WriteLine($"{instrument.Meter.Name}-{instrument.Name} {measurement} {instrument.
Unit
}");
System.Diagnostics.DiagnosticSource (9)
System\Diagnostics\Metrics\Meter.cs (1)
529
if (instrument.GetType() == instrumentType && instrument.
Unit
== unit &&
System\Diagnostics\Metrics\MetricsEventSource.cs (8)
465
beginInstrumentMeasurements: (i, state) => Parent.BeginInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.
Unit
, i.Description,
467
endInstrumentMeasurements: (i, state) => Parent.EndInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.
Unit
, i.Description,
469
instrumentPublished: (i, state) => Parent.InstrumentPublished(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.
Unit
, i.Description,
705
Log.CounterRateValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.
Unit
, Helpers.FormatTags(stats.Labels),
710
Log.UpDownCounterRateValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.
Unit
, Helpers.FormatTags(stats.Labels),
716
Log.GaugeValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.
Unit
, Helpers.FormatTags(stats.Labels),
721
Log.GaugeValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.
Unit
, Helpers.FormatTags(stats.Labels),
726
Log.HistogramValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.
Unit
, Helpers.FormatTags(stats.Labels), FormatQuantiles(histogramStats.Quantiles),