Skip to content

Commit

Permalink
fix: blocking read timer lack of parameter (#2954)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuenKar authored Dec 19, 2023
1 parent ccbd497 commit 3e6a564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object-store/src/layers/prometheus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)| {
(
Expand Down

0 comments on commit 3e6a564

Please sign in to comment.