Adding metric support

This commit is contained in:
jude
2023-10-21 21:33:50 +01:00
parent 6cfdc10a6a
commit 6615e05196
6 changed files with 40 additions and 4 deletions

22
Cargo.lock generated
View File

@ -1549,6 +1549,27 @@ dependencies = [
"unicode-ident",
]
[[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",
"memchr",
"parking_lot 0.12.1",
"protobuf",
"thiserror",
]
[[package]]
name = "protobuf"
version = "2.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94"
[[package]]
name = "quote"
version = "1.0.29"
@ -2137,6 +2158,7 @@ dependencies = [
"lazy_static",
"log",
"poise",
"prometheus",
"regex",
"reqwest",
"serde",