6 implementations of Tags
InMemory.FunctionalTests (3)
Http2\Http2TestBase.cs (1)
507public ICollection<KeyValuePair<string, object>> Tags { get; } = new List<KeyValuePair<string, object>>();
KestrelMetricsTests.cs (1)
433public ICollection<KeyValuePair<string, object>> Tags { get; } = new List<KeyValuePair<string, object>>();
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1038public ICollection<KeyValuePair<string, object>> Tags { get; } = new List<KeyValuePair<string, object>>();
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
103ICollection<KeyValuePair<string, object?>> IConnectionMetricsTagsFeature.Tags => TagsList;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
Http2\Http2ConnectionBenchmarkBase.cs (1)
200public ICollection<KeyValuePair<string, object>> Tags { get; }
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1038public ICollection<KeyValuePair<string, object>> Tags { get; } = new List<KeyValuePair<string, object>>();
14 references to Tags
InMemory.FunctionalTests (3)
Http2\Http2TestBase.cs (1)
164internal Dictionary<string, object> ConnectionTags => _metricsTagsFeature.Tags.ToDictionary(t => t.Key, t => t.Value);
KestrelMetricsTests.cs (2)
51connectionContext.Features.Get<IConnectionMetricsTagsFeature>().Tags.Add(new KeyValuePair<string, object>("custom", "value!")); 330connectionContext.Features.Get<IConnectionMetricsTagsFeature>().Tags.Add(new KeyValuePair<string, object>("custom", "value!"));
Microsoft.AspNetCore.Diagnostics (2)
src\Shared\Metrics\MetricsExtensions.cs (2)
21var tags = feature.Tags; 28var tags = feature.Tags;
Microsoft.AspNetCore.Hosting (2)
src\Shared\Metrics\MetricsExtensions.cs (2)
21var tags = feature.Tags; 28var tags = feature.Tags;
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\HttpConnection.cs (2)
140metricsTags.Tags.Add(new KeyValuePair<string, object?>("network.protocol.name", "http")); 141metricsTags.Tags.Add(new KeyValuePair<string, object?>("network.protocol.version", httpVersion));
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
50metricsTags.Tags.Add(new KeyValuePair<string, object?>("tls.protocol.version", "1.3"));
Middleware\HttpsConnectionMiddleware.cs (2)
212metricsTagsFeature.Tags.Add(new KeyValuePair<string, object?>("tls.protocol.name", protocolName)); 214metricsTagsFeature.Tags.Add(new KeyValuePair<string, object?>("tls.protocol.version", protocolVersion));
src\Shared\Metrics\MetricsExtensions.cs (2)
21var tags = feature.Tags; 28var tags = feature.Tags;