mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-21 23:40:38 +00:00
fix: blocking read timer lack of parameter (#2954)
This commit is contained in:
@@ -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)| {
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user