Skip to content

Commit

Permalink
fix: remove name label from QUERY_DURATION metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Sep 29, 2023
1 parent 50fb34e commit 6aa9393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/metrics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub static QUERY_DURATION: Lazy<HistogramVec> = Lazy::new(|| {
.namespace("indexer")
.subsystem("service")
.buckets(linear_buckets(0.0, 1.0, 20).unwrap()),
&["deployment", "name"],
&["deployment"],
)
.expect("Failed to create query_duration histograms");
prometheus::register(Box::new(m.clone())).expect("Failed to register query_duration counter");
Expand Down

0 comments on commit 6aa9393

Please sign in to comment.