97 references to TelemetryConstants
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (16)
Microsoft.Extensions.Http.Diagnostics (14)
Microsoft.Extensions.Http.Diagnostics.Tests (25)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Resilience (1)
Microsoft.Extensions.Telemetry (2)
Microsoft.Extensions.Telemetry.Abstractions (4)
Microsoft.Extensions.Telemetry.Abstractions.Tests (6)
Microsoft.Extensions.Telemetry.Tests (25)
Http\HttpParserTests.cs (6)
90ValidateRouteParameter(httpRouteParameters[1], "chatId", TelemetryConstants.Redacted, true);
109ValidateRouteParameter(httpRouteParameters[1], "chatId", TelemetryConstants.Redacted, true);
169ValidateRouteParameter(httpRouteParameters[0], "routeId", TelemetryConstants.Redacted, true);
187ValidateRouteParameter(httpRouteParameters[0], "routeId", TelemetryConstants.Redacted, true);
209ValidateRouteParameter(httpRouteParameters[1], "chatId", TelemetryConstants.Redacted, true);
240ValidateRouteParameter(httpRouteParameters[0], "routeId", TelemetryConstants.Redacted, true);
Http\HttpRouteFormatterTests.cs (17)
28Assert.Equal($"api/routes/{TelemetryConstants.Redacted}/chats/{TelemetryConstants.Redacted}", formattedPath);
41Assert.Equal($"api/routes/{TelemetryConstants.Redacted}/chats/{TelemetryConstants.Redacted}", formattedPath);
54Assert.Equal($"api/routes/{TelemetryConstants.Redacted}/chats/{TelemetryConstants.Redacted}", formattedPath);
67Assert.Equal($"api/chats:{TelemetryConstants.Redacted}@{TelemetryConstants.Redacted}", formattedPath);
80Assert.Equal($"api/chats:{TelemetryConstants.Redacted}@{TelemetryConstants.Redacted}/messages", formattedPath);
169Assert.Equal($"api/routes/Redacted:routeId123/chats/{TelemetryConstants.Redacted}", formattedPath);
205Assert.Equal($"api/routes/{TelemetryConstants.Redacted}/chats/{TelemetryConstants.Redacted}", formattedPath);
265Assert.Equal($"Redacted:routeId123/chats/{TelemetryConstants.Redacted}", formattedPath);
285Assert.Equal($"Redacted:routeId123/chats/{TelemetryConstants.Redacted}", formattedPath);
305Assert.Equal($"Redacted:routeId123/chats/{TelemetryConstants.Redacted}", formattedPath);
332Assert.Equal($"api/routes/{TelemetryConstants.Redacted}/chats/Redacted:chatId123", formattedPath);