Hotfix otlp headers
Signed-off-by: Dmitrii <computer@yawaflua.tech> Took 19 minutes
This commit is contained in:
@@ -28,6 +28,7 @@ public class RequestTelemetryMiddleware(RequestDelegate next, ILogger<RequestTel
|
||||
activity?.SetTag("http.host", context.Request.Host.Value ?? string.Empty);
|
||||
activity?.SetTag("client.ip", context.Connection.RemoteIpAddress?.ToString());
|
||||
activity?.SetTag("http.user_agent", context.Request.Headers.UserAgent.ToString());
|
||||
activity?.SetTag("http.headers", context.Request.Headers.ToString());
|
||||
|
||||
var stopwatch = Stopwatch.StartNew();
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user