34 references to CreateCounter
Aspire.Confluent.Kafka (8)
ConfluentKafkaMetrics.cs (8)
34Tx = _meter.CreateCounter<long>(Counters.Tx, description: Descriptions.Tx); 35TxBytes = _meter.CreateCounter<long>(Counters.TxBytes, description: Descriptions.TxBytes); 36TxMessages = _meter.CreateCounter<long>(Counters.TxMessages, description: Descriptions.TxMessages); 37TxMessageBytes = _meter.CreateCounter<long>(Counters.TxMessageBytes, description: Descriptions.TxMessageBytes); 38Rx = _meter.CreateCounter<long>(Counters.Rx, description: Descriptions.Rx); 39RxBytes = _meter.CreateCounter<long>(Counters.RxBytes, description: Descriptions.RxBytes); 40RxMessages = _meter.CreateCounter<long>(Counters.RxMessages, description: Descriptions.RxMessages); 41RxMessageBytes = _meter.CreateCounter<long>(Counters.RxMessageBytes, description: Descriptions.RxMessageBytes);
Microsoft.AspNetCore.Diagnostics (1)
DiagnosticsMetrics.cs (1)
24_handlerExceptionCounter = _meter.CreateCounter<long>(
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMetrics.cs (1)
48_requestsCounter = _meter.CreateCounter<long>(
Microsoft.AspNetCore.Routing (1)
RoutingMetrics.cs (1)
23_matchAttemptsCounter = _meter.CreateCounter<long>(
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelMetrics.cs (1)
53_rejectedConnectionsCounter = _meter.CreateCounter<long>(
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
Metrics\MeasurementExtensionsTests.cs (11)
18var counter = meter.CreateCounter<long>("MyCounter"); 43var counter = meter.CreateCounter<long>("MyCounter"); 68var counter = meter.CreateCounter<long>("MyCounter"); 96var counter = meter.CreateCounter<long>("MyCounter"); 127var counter = meter.CreateCounter<byte>("MyCounter"); 144var counter = meter.CreateCounter<short>("MyCounter"); 161var counter = meter.CreateCounter<int>("MyCounter"); 178var counter = meter.CreateCounter<long>("MyCounter"); 195var counter = meter.CreateCounter<float>("MyCounter"); 212var counter = meter.CreateCounter<double>("MyCounter"); 229var counter = meter.CreateCounter<decimal>("MyCounter");
Metrics\MetricCollectorTests.cs (10)
34var counter = meter.CreateCounter<long>("Counter"); 55var counter = meter.CreateCounter<long>(CounterName); 95var counter = meter.CreateCounter<long>(CounterName); 141var counter = meter.CreateCounter<long>(CounterName); 243var counter = meter.CreateCounter<long>(CounterName); 281var counter = meter.CreateCounter<long>(CounterName); 307var counter = meter.CreateCounter<long>(CounterName); 339var counter = meter.CreateCounter<long>(CounterName); 354var counter = meter.CreateCounter<long>(CounterName); 392var counter = meter.CreateCounter<long>(CounterName);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\RuntimeMetrics.cs (1)
128s_exceptions = s_meter.CreateCounter<long>(