diff --git a/Cargo.lock b/Cargo.lock index 65efa953..408f99ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -432,7 +432,7 @@ dependencies = [ "config", "eyre", "fs-err", - "metrics", + "metrics 0.24.0", "metrics-exporter-prometheus", "postmark", "rand", @@ -472,7 +472,7 @@ dependencies = [ "atuin-server-database", "eyre", "futures-util", - "metrics", + "metrics 0.24.0", "serde", "sqlx", "time", @@ -2295,6 +2295,16 @@ dependencies = [ "portable-atomic", ] +[[package]] +name = "metrics" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ae428771d17306715c5091d446327d1cfdedc82185c65ba8423ab404e45bf10" +dependencies = [ + "ahash", + "portable-atomic", +] + [[package]] name = "metrics-exporter-prometheus" version = "0.12.2" @@ -2305,7 +2315,7 @@ dependencies = [ "hyper 0.14.30", "indexmap 1.9.3", "ipnet", - "metrics", + "metrics 0.21.1", "metrics-util", "quanta", "thiserror", @@ -2333,7 +2343,7 @@ dependencies = [ "crossbeam-epoch", "crossbeam-utils", "hashbrown 0.13.1", - "metrics", + "metrics 0.21.1", "num_cpus", "quanta", "sketches-ddsketch", diff --git a/crates/atuin-server-postgres/Cargo.toml b/crates/atuin-server-postgres/Cargo.toml index 5df0ce34..f2e0c9a4 100644 --- a/crates/atuin-server-postgres/Cargo.toml +++ b/crates/atuin-server-postgres/Cargo.toml @@ -20,6 +20,6 @@ serde = { workspace = true } sqlx = { workspace = true } async-trait = { workspace = true } uuid = { workspace = true } -metrics = "0.21.1" +metrics = "0.24.0" futures-util = "0.3" url = "2.5.2" diff --git a/crates/atuin-server/Cargo.toml b/crates/atuin-server/Cargo.toml index 5defbf3a..1305250f 100644 --- a/crates/atuin-server/Cargo.toml +++ b/crates/atuin-server/Cargo.toml @@ -36,5 +36,5 @@ rustls-pemfile = "2.1" argon2 = "0.5" semver = { workspace = true } metrics-exporter-prometheus = "0.12.1" -metrics = "0.21.1" +metrics = "0.24.0" postmark = {version= "0.10.2", features=["reqwest", "reqwest-rustls-tls"]}