[model-gateway][tracing]: implement request tracing using OpenTelemetry with trace context propagation (HTTP) (#13897)
This commit is contained in:
@@ -207,6 +207,7 @@ impl<B> MakeSpan<B> for RequestSpan {
|
||||
// Don't try to extract request ID here - it won't be available yet
|
||||
// The RequestIdLayer runs after TraceLayer creates the span
|
||||
info_span!(
|
||||
target: "sgl_model_gateway::otel-trace",
|
||||
"http_request",
|
||||
method = %request.method(),
|
||||
uri = %request.uri(),
|
||||
@@ -215,6 +216,7 @@ impl<B> MakeSpan<B> for RequestSpan {
|
||||
status_code = Empty,
|
||||
latency = Empty,
|
||||
error = Empty,
|
||||
module = "sglang::router_rs"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user