88 references to Add
Aspire.Confluent.Kafka (19)
MetricsService.cs (16)
54metrics.Tx.Add(statistics.Tx - previous.Tx, tags); 55metrics.TxBytes.Add(statistics.TxBytes - previous.TxBytes, tags); 56metrics.TxMessages.Add(statistics.TxMessages - previous.TxMessages, tags); 57metrics.TxMessageBytes.Add(statistics.TxMessageBytes - previous.TxMessageBytes, tags); 58metrics.Rx.Add(statistics.Rx - previous.Rx, tags); 59metrics.RxBytes.Add(statistics.RxBytes - previous.RxBytes, tags); 60metrics.RxMessages.Add(statistics.RxMessages - previous.RxMessages, tags); 61metrics.RxMessageBytes.Add(statistics.RxMessageBytes - previous.RxMessageBytes, tags); 65metrics.Tx.Add(statistics.Tx, tags); 66metrics.TxBytes.Add(statistics.TxBytes, tags); 67metrics.TxMessages.Add(statistics.TxMessages, tags); 68metrics.TxMessageBytes.Add(statistics.TxMessageBytes, tags); 69metrics.Rx.Add(statistics.Rx, tags); 70metrics.RxBytes.Add(statistics.RxBytes, tags); 71metrics.RxMessages.Add(statistics.RxMessages, tags); 72metrics.RxMessageBytes.Add(statistics.RxMessageBytes, tags);
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumer.cs (1)
315ConfluentKafkaCommon.ReceiveMessagesCounter.Add(1, in tags);
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedProducer.cs (2)
313ConfluentKafkaCommon.PublishMessagesCounter.Add(1, in tags); 321ConfluentKafkaCommon.PublishMessagesCounter.Add(1, in tags);
Microsoft.AspNetCore.Authentication.Core (4)
AuthenticationMetrics.cs (4)
114_challengeCount.Add(1, tags); 140_forbidCount.Add(1, tags); 166_signInCount.Add(1, tags); 192_signOutCount.Add(1, tags);
Microsoft.AspNetCore.Authorization (1)
AuthorizationMetrics.cs (1)
64_authorizedCount.Add(1, tags);
Microsoft.AspNetCore.Components (1)
ComponentsMetrics.cs (1)
81_navigationCount.Add(1, tags);
Microsoft.AspNetCore.Diagnostics (1)
DiagnosticsMetrics.cs (1)
48_handlerExceptionCounter.Add(1, tags);
Microsoft.AspNetCore.HeaderParsing (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Metrics.g.cs (2)
37_counter.Add(value, tagList); 59_counter.Add(value, tagList);
Microsoft.AspNetCore.Identity (5)
SignInManagerMetrics.cs (5)
80_checkPasswordCounter.Add(1, tags); 119_signInsCounter.Add(1, tags); 136_signOutsCounter.Add(1, tags); 153_rememberTwoFactorClientCounter.Add(1, tags); 170_forgetTwoFactorCounter.Add(1, tags);
Microsoft.AspNetCore.RateLimiting (2)
RateLimitingMetrics.cs (2)
68_requestsCounter.Add(1, tags); 116_requestsCounter.Add(1, tags);
Microsoft.AspNetCore.Server.HttpSys (3)
src\aspnetcore\src\Shared\Buffers.MemoryPool\MemoryPoolMetrics.cs (3)
80_allocatedMemoryCounter.Add(bytes, tags); 96_evictedMemoryCounter.Add(bytes, tags); 112_rentedMemoryCounter.Add(bytes, tags);
Microsoft.AspNetCore.Server.IIS (3)
src\aspnetcore\src\Shared\Buffers.MemoryPool\MemoryPoolMetrics.cs (3)
80_allocatedMemoryCounter.Add(bytes, tags); 96_evictedMemoryCounter.Add(bytes, tags); 112_rentedMemoryCounter.Add(bytes, tags);
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Infrastructure\KestrelMetrics.cs (2)
174_rejectedConnectionsCounter.Add(1, tags); 189_bareLineFeedRequestsCounter.Add(1, tags);
src\aspnetcore\src\Shared\Buffers.MemoryPool\MemoryPoolMetrics.cs (3)
80_allocatedMemoryCounter.Add(bytes, tags); 96_evictedMemoryCounter.Add(bytes, tags); 112_rentedMemoryCounter.Add(bytes, tags);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (3)
src\aspnetcore\src\Shared\Buffers.MemoryPool\MemoryPoolMetrics.cs (3)
80_allocatedMemoryCounter.Add(bytes, tags); 96_evictedMemoryCounter.Add(bytes, tags); 112_rentedMemoryCounter.Add(bytes, tags);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
src\aspnetcore\src\Shared\Buffers.MemoryPool\MemoryPoolMetrics.cs (3)
80_allocatedMemoryCounter.Add(bytes, tags); 96_evictedMemoryCounter.Add(bytes, tags); 112_rentedMemoryCounter.Add(bytes, tags);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Metrics.g.cs (2)
36_counter.Add(value, tagList); 58_counter.Add(value, tagList);
Microsoft.Extensions.Identity.Core (3)
UserManagerMetrics.cs (3)
144_checkPasswordAttemptsCounter.Add(1, tags); 165_verifyTokenAttemptsCounter.Add(1, tags); 182_generateTokensCounter.Add(1, tags);
Microsoft.Gen.Metrics.Generated.Tests (30)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Metrics.g.cs (30)
593_counter.Add(value, tagList); 614_counter.Add(value, tagList); 635_counter.Add(value, tagList); 656_counter.Add(value, tagList); 678_counter.Add(value, tagList); 700_counter.Add(value, tagList); 723_counter.Add(value, tagList); 746_counter.Add(value, tagList); 770_counter.Add(value, tagList); 794_counter.Add(value, tagList); 816_counter.Add(value, tagList); 838_counter.Add(value, tagList); 860_counter.Add(value, tagList); 882_counter.Add(value, tagList); 907_counter.Add(value, tagList); 932_counter.Add(value, tagList); 967_counter.Add(value, tagList); 1002_counter.Add(value, tagList); 1026_counter.Add(value, tagList); 1050_counter.Add(value, tagList); 1073_counter.Add(value, tagList); 1096_counter.Add(value, tagList); 1200_counter.Add(value, tagList); 1240_counter.Add(value, tagList); 1265_counter.Add(value, tagList); 1290_counter.Add(value, tagList); 1320_counter.Add(value, tagList); 2354_counter.Add(value, tagList); 2381_counter.Add(value, tagList); 2519_counter.Add(value, tagList);
Stress.ApiService (1)
TestMetrics.cs (1)
64_counter.Add(value, in tags);