feat(api): prometheus metrics

This commit is contained in:
spiral
2023-03-18 23:06:55 -04:00
parent d120a32904
commit fcc270f121
8 changed files with 283 additions and 13 deletions

View File

@@ -8,6 +8,8 @@ anyhow = { workspace = true }
config = "0.13.3"
gethostname = "0.4.1"
lazy_static = { workspace = true }
metrics = "0.20.1"
metrics-exporter-prometheus = { version = "0.11.0", default-features = false, features = ["tokio", "http-listener", "tracing"] }
serde = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }