Skip to content

Commit

Permalink
fix: change prometheus namespace to activitypub_bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
CutestNekoAqua committed Aug 3, 2024
1 parent ba90198 commit 12dc5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async fn main() -> actix_web::Result<(), anyhow::Error> {
labels.insert("name".to_string(), USERNAME.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")
.const_labels(labels)
.build()
Expand Down

0 comments on commit 12dc5e8

Please sign in to comment.