feat(net): add NetworkMetrics (#708)

* Added NetworkMetrics

* update docs

* add more metrics and make naming consistent

* add active inbound and outbound connection metrics
This commit is contained in:
Sanket Shanbhag
2023-01-05 14:47:57 +05:30
committed by GitHub
parent 528c19f079
commit e4bd5b4fe9
7 changed files with 103 additions and 6 deletions

View File

@ -38,6 +38,10 @@ tokio-stream = "0.1"
# io
serde = { version = "1.0", optional = true }
# metrics
metrics = "0.20.1"
reth-metrics-derive = { path = "../../metrics/metrics-derive" }
# misc
auto_impl = "1"
aquamarine = "0.1" # docs