fix: blocking read timer lack of parameter (#2954)

This commit is contained in:
Wei
2023-12-19 06:16:55 +00:00
committed by GitHub
parent ccbd49777d
commit 3e6a564f8e
+1 -1
View File
@@ -319,7 +319,7 @@ impl<A: Accessor> LayeredAccessor for PrometheusAccessor<A> {
.inc();
let timer = REQUESTS_DURATION_SECONDS
.with_label_values(&[&self.scheme])
.with_label_values(&[&self.scheme, Operation::BlockingRead.into_static()])
.start_timer();
let result = self.inner.blocking_read(path, args).map(|(rp, r)| {
(