Unverified Commit f3d97361 authored by Charles Chen's avatar Charles Chen Committed by GitHub
Browse files

Fix suffix mismatch for the metrics. (#8168)


Signed-off-by: default avatarCharles Chen <chenliqian@chenliqian.cn>
parent 561dd7b2
......@@ -132,7 +132,7 @@ pub fn start_prometheus(config: PrometheusConfig) {
// Initialize metric descriptions
init_metrics();
let duration_matcher = Matcher::Suffix(String::from("duration"));
let duration_matcher = Matcher::Suffix(String::from("duration_seconds"));
let duration_bucket = [
0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, 15.0, 30.0, 45.0,
60.0, 90.0, 120.0, 180.0, 240.0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment