mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: add prometheus support
This commit is contained in:
parent
e4b7c8451d
commit
5276a919da
6 changed files with 122 additions and 22 deletions
|
|
@ -18,6 +18,7 @@ name = "aquatic_udp"
|
|||
|
||||
[features]
|
||||
cpu-pinning = ["aquatic_common/hwloc"]
|
||||
prometheus = ["metrics", "metrics-exporter-prometheus"]
|
||||
|
||||
[dependencies]
|
||||
aquatic_common.workspace = true
|
||||
|
|
@ -35,6 +36,8 @@ hdrhistogram = "7"
|
|||
hex = "0.4"
|
||||
libc = "0.2"
|
||||
log = "0.4"
|
||||
metrics = { version = "0.20", optional = true }
|
||||
metrics-exporter-prometheus = { version = "0.11", optional = true, default-features = false, features = ["http-listener"] }
|
||||
mimalloc = { version = "0.1", default-features = false }
|
||||
mio = { version = "0.8", features = ["net", "os-poll"] }
|
||||
num-format = "0.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue