1 instantiation of Counter
System.Diagnostics.DiagnosticSource (1)
245 references to Counter
Aspire.Confluent.Kafka (10)
Microsoft.AspNetCore.Authentication.Core (4)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.HeaderParsing (6)
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.HealthChecks.Common (6)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
Microsoft.Extensions.Identity.Core (3)
Microsoft.Gen.Metrics.Generated.Tests (159)
Stress.ApiService (1)
Stress.TelemetryService (1)
System.Diagnostics.DiagnosticSource (6)
System\Diagnostics\Metrics\Meter.cs (4)
135public Counter<T> CreateCounter<T>(string name, string? unit = null, string? description = null) where T : struct => CreateCounter<T>(name, unit, description, tags: null);
148public Counter<T> CreateCounter<T>(string name, string? unit, string? description, IEnumerable<KeyValuePair<string, object?>>? tags) where T : struct
149=> (Counter<T>)GetOrCreateInstrument<T>(typeof(Counter<T>), name, unit, description, tags, () => new Counter<T>(this, name, unit, description, tags));