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