diff --git a/rust/bagua-net/Cargo.lock b/rust/bagua-net/Cargo.lock index a85da1941..6444e2fbc 100644 --- a/rust/bagua-net/Cargo.lock +++ b/rust/bagua-net/Cargo.lock @@ -187,7 +187,7 @@ dependencies = [ "opentelemetry", "opentelemetry-jaeger", "opentelemetry-prometheus", - "prometheus", + "prometheus 0.13.3", "regex", "socket2", "thiserror", @@ -1048,7 +1048,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ee9c06c1366665e7d4dba6540a42ea48900a9c92dc5b963f3ae05fbba76dc63" dependencies = [ "opentelemetry", - "prometheus", + "prometheus 0.12.0", "protobuf", ] @@ -1205,10 +1205,25 @@ dependencies = [ "cfg-if", "fnv", "lazy_static", - "libc", "memchr", "parking_lot 0.11.1", "protobuf", + "thiserror", +] + +[[package]] +name = "prometheus" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" +dependencies = [ + "cfg-if", + "fnv", + "lazy_static", + "libc", + "memchr", + "parking_lot 0.12.0", + "protobuf", "reqwest", "thiserror", ] diff --git a/rust/bagua-net/Cargo.toml b/rust/bagua-net/Cargo.toml index 4f8006d0f..9a9764a86 100644 --- a/rust/bagua-net/Cargo.toml +++ b/rust/bagua-net/Cargo.toml @@ -30,7 +30,7 @@ opentelemetry-jaeger = { version = "*", features = [ ] } opentelemetry-prometheus = { version = "*" } openssl = { version = "0.10", features = ["vendored"] } -prometheus = { version = "0.12", features = ["push"] } +prometheus = { version = "0.13", features = ["push"] } lazy_static = "1.4" regex = "1.5" tokio = { version = "1", features = ["full"] }