[model-gateway] Implement Layer 1 HTTP metrics instrumentation (#15121)

This commit is contained in:
Simo Lin
2025-12-14 09:39:15 -08:00
committed by GitHub
parent 997ea57eaf
commit f9bceea064
2 changed files with 227 additions and 1 deletions
+1
View File
@@ -734,6 +734,7 @@ pub fn build_app(
max_payload_size,
))
.layer(middleware::create_logging_layer())
.layer(middleware::HttpMetricsLayer::new())
.layer(middleware::RequestIdLayer::new(request_id_headers))
.layer(create_cors_layer(cors_allowed_origins))
.fallback(sink_handler)