18 references to AttributeUrlScheme
Microsoft.AspNetCore.Hosting (2)
Internal\HostingApplicationDiagnostics.cs (1)
495creationTags.Add(HostingTelemetryHelpers.AttributeUrlScheme, request.Scheme);
Internal\HostingMetrics.cs (1)
111tags.Add(HostingTelemetryHelpers.AttributeUrlScheme, scheme);
Microsoft.AspNetCore.Hosting.Tests (16)
HostingApplicationDiagnosticsTests.cs (16)
264Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 280Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 286Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 323Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 339Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 345Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 388Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 404Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 410Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 448Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 464Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 470Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 503Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 519Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 525Assert.Equal("http", m.Tags[HostingTelemetryHelpers.AttributeUrlScheme]); 1264Assert.True(tags.ContainsKey(HostingTelemetryHelpers.AttributeUrlScheme));