mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
fix: change prometheus namespace to activitypub_bridge
This commit is contained in:
parent
ba901981f0
commit
12dc5e89d0
|
|
@ -273,7 +273,7 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
|
||||||
labels.insert("name".to_string(), USERNAME.to_string());
|
labels.insert("name".to_string(), USERNAME.to_string());
|
||||||
labels.insert("api_domain".to_string(), API_DOMAIN.to_string());
|
labels.insert("api_domain".to_string(), API_DOMAIN.to_string());
|
||||||
|
|
||||||
let prometheus = PrometheusMetricsBuilder::new("api")
|
let prometheus = PrometheusMetricsBuilder::new("activitypub_bridge")
|
||||||
.endpoint("/metrics")
|
.endpoint("/metrics")
|
||||||
.const_labels(labels)
|
.const_labels(labels)
|
||||||
.build()
|
.build()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue