Serve metrics via :31755

This commit is contained in:
jude
2023-10-21 23:45:42 +01:00
parent 6615e05196
commit cee578eaf1
5 changed files with 141 additions and 4 deletions

View File

@@ -21,6 +21,10 @@ dashmap = "5.3"
serde = "1.0"
dotenv = "0.15.0"
prometheus = { version = "0.13.3", optional = true }
axum = { version = "0.6.20", optional = true }
[features]
metrics = ["dep:prometheus", "dep:axum"]
[patch."https://github.com/serenity-rs/serenity"]
serenity = { version = "0.11.6" }