We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77fc789 commit 710ff46Copy full SHA for 710ff46
aggregation_mode/gateway/src/http.rs
@@ -1,5 +1,4 @@
1
use std::{
2
- collections::HashMap,
3
str::FromStr,
4
time::{Instant, SystemTime, UNIX_EPOCH},
5
};
@@ -62,11 +61,8 @@ impl GatewayServer {
62
61
let port = self.config.port;
63
let state = self.clone();
64
65
- let mut labels = HashMap::new();
66
- labels.insert("label1".to_string(), "value1".to_string());
67
let prometheus = PrometheusMetricsBuilder::new("api")
68
.endpoint("/metrics")
69
- .const_labels(labels)
70
.build()
71
.unwrap();
72
0 commit comments