1 write to Version
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\Meter.cs (1)
81Version = version;
35 references to Version
Microsoft.AspNetCore.Authentication.Test (12)
AuthenticationMetricsTest.cs (12)
34Assert.Null(meter.Version); 62Assert.Null(meter.Version); 90Assert.Null(meter.Version); 119Assert.Null(meter.Version); 144Assert.Null(meter.Version); 171Assert.Null(meter.Version); 195Assert.Null(meter.Version); 222Assert.Null(meter.Version); 246Assert.Null(meter.Version); 273Assert.Null(meter.Version); 297Assert.Null(meter.Version); 324Assert.Null(meter.Version);
Microsoft.AspNetCore.Authorization.Test (6)
AuthorizationMetricsTest.cs (6)
29Assert.Null(meter.Version); 54Assert.Null(meter.Version); 79Assert.Null(meter.Version); 108Assert.Null(meter.Version); 133Assert.Null(meter.Version); 162Assert.Null(meter.Version);
Microsoft.AspNetCore.Diagnostics.Tests (1)
ExceptionHandlerMiddlewareTest.cs (1)
224Assert.Null(meter.Version);
Microsoft.AspNetCore.Hosting.Tests (3)
HostingMetricsTests.cs (3)
33Assert.Null(meter.Version); 131Assert.Null(meter.Version); 167Assert.Null(meter.Version);
Microsoft.AspNetCore.Routing.Tests (4)
RoutingMetricsTests.cs (4)
45Assert.Null(meter.Version); 79Assert.Null(meter.Version); 106Assert.Null(meter.Version); 130Assert.Null(meter.Version);
Microsoft.Extensions.Diagnostics (1)
Metrics\DefaultMeterFactory.cs (1)
44if (meter.Version == options.Version && DiagnosticsHelper.CompareTags(meter.Tags as IList<KeyValuePair<string, object?>>, options.Tags))
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Metrics\MetricsEventSource.cs (8)
465beginInstrumentMeasurements: (i, state) => Parent.BeginInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description, 467endInstrumentMeasurements: (i, state) => Parent.EndInstrumentReporting(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description, 469instrumentPublished: (i, state) => Parent.InstrumentPublished(sessionId, i.Meter.Name, i.Meter.Version, i.Name, i.GetType().Name, i.Unit, i.Description, 705Log.CounterRateValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.Unit, Helpers.FormatTags(stats.Labels), 710Log.UpDownCounterRateValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.Unit, Helpers.FormatTags(stats.Labels), 716Log.GaugeValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.Unit, Helpers.FormatTags(stats.Labels), 721Log.GaugeValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.Unit, Helpers.FormatTags(stats.Labels), 726Log.HistogramValuePublished(sessionId, instrument.Meter.Name, instrument.Meter.Version, instrument.Name, instrument.Unit, Helpers.FormatTags(stats.Labels), FormatQuantiles(histogramStats.Quantiles),