1 instantiation of Counter
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\Meter.cs (1)
144=> (Counter<T>)GetOrCreateInstrument<T>(typeof(Counter<T>), name, unit, description, tags, () => new Counter<T>(this, name, unit, description, tags));
9 references to Counter
Microsoft.AspNetCore.Diagnostics (1)
DiagnosticsMetrics.cs (1)
18private readonly Counter<long> _handlerExceptionCounter;
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMetrics.cs (1)
19private readonly Counter<long> _requestsCounter;
Microsoft.AspNetCore.Routing (1)
RoutingMetrics.cs (1)
17private readonly Counter<long> _matchAttemptsCounter;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelMetrics.cs (1)
27private readonly Counter<long> _rejectedConnectionsCounter;
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\AggregationManager.cs (1)
299if (genericDefType == typeof(Counter<>))
System\Diagnostics\Metrics\Meter.cs (4)
130public Counter<T> CreateCounter<T>(string name, string? unit = null, string? description = null) where T : struct => CreateCounter<T>(name, unit, description, tags: null); 143public Counter<T> CreateCounter<T>(string name, string? unit, string? description, IEnumerable<KeyValuePair<string, object?>>? tags) where T : struct 144=> (Counter<T>)GetOrCreateInstrument<T>(typeof(Counter<T>), name, unit, description, tags, () => new Counter<T>(this, name, unit, description, tags));