1 instantiation of Counter
System.Diagnostics.DiagnosticSource (1)
80 references to Counter
Aspire.Confluent.Kafka (10)
Aspire.Hosting.Native.Core (1)
Aspire.TerminalHost (5)
Microsoft.AspNetCore.Authentication.Core (4)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Identity (5)
Microsoft.AspNetCore.RateLimiting (1)
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.Server.HttpSys (3)
Microsoft.AspNetCore.Server.IIS (3)
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
Microsoft.Extensions.Identity.Core (3)
Stress.ApiService (1)
Stress.TelemetryService (1)
System.Diagnostics.DiagnosticSource (6)
System\Diagnostics\Metrics\Meter.cs (4)
136public Counter<T> CreateCounter<T>(string name, string? unit = null, string? description = null) where T : struct => CreateCounter<T>(name, unit, description, tags: null);
149public Counter<T> CreateCounter<T>(string name, string? unit, string? description, IEnumerable<KeyValuePair<string, object?>>? tags) where T : struct
150=> (Counter<T>)GetOrCreateInstrument<T>(typeof(Counter<T>), name, unit, description, tags, () => new Counter<T>(this, name, unit, description, tags));