We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09cc63c commit deaa77aCopy full SHA for deaa77a
1 file changed
aggregation_mode/gateway/src/http.rs
@@ -61,6 +61,8 @@ impl GatewayServer {
61
let port = self.config.port;
62
let state = self.clone();
63
64
+ // Note: This creates a new Prometheus server different from the one created in GatewayServer::new. The created
65
+ // server exposes metrics related to the actix HTTP server, like response codes and response times
66
let prometheus = PrometheusMetricsBuilder::new("api")
67
.endpoint("/metrics")
68
.build()
0 commit comments