aboutsummaryrefslogtreecommitdiff
path: root/src/db/metric_proxy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/metric_proxy.rs')
-rw-r--r--src/db/metric_proxy.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/metric_proxy.rs b/src/db/metric_proxy.rs
index d246e7fe..e5221a7f 100644
--- a/src/db/metric_proxy.rs
+++ b/src/db/metric_proxy.rs
@@ -9,7 +9,7 @@ use crate::{
};
use opentelemetry::{
global,
- metrics::{Counter, Unit, ValueRecorder},
+ metrics::{Unit, ValueRecorder},
KeyValue,
};
@@ -21,7 +21,7 @@ pub struct MetricDbProxy {
impl MetricDbProxy {
pub fn init(db: LmdbDb) -> Db {
- let meter = global::meter("garage/web");
+ let meter = global::meter("garage/db");
let s = Self {
db,
op: meter