ws: add prometheus peer client metrics

This commit is contained in:
Joakim Frostegård 2023-06-14 11:09:23 +02:00
parent 32aa34366c
commit 6675126d08
6 changed files with 95 additions and 1 deletions

2
Cargo.lock generated
View file

@ -310,6 +310,7 @@ version = "0.8.0"
dependencies = [
"anyhow",
"aquatic_common",
"aquatic_peer_id",
"aquatic_toml_config",
"aquatic_ws_protocol",
"async-tungstenite",
@ -323,6 +324,7 @@ dependencies = [
"log",
"metrics",
"metrics-exporter-prometheus",
"metrics-util",
"mimalloc",
"privdrop",
"quickcheck",