feat(xanthous/server): Add simple prometheus metrics
Add a prometheus exporter and some simple prometheus metrics, so that I can look at dashboards and get alerts for things like lots of connections Change-Id: Ic1e0568200299dc852b74da647a6354267ee7576 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3811 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
77f0d62a2c
commit
5327d238e3
4 changed files with 589 additions and 11 deletions
|
@ -11,6 +11,8 @@ thrussh = "0.33.5"
|
|||
thrussh-keys = "0.21.0"
|
||||
tracing = "0.1.29"
|
||||
tracing-subscriber = "0.2.25"
|
||||
metrics = "0.17.0"
|
||||
metrics-exporter-prometheus = "0.6.1"
|
||||
futures = "0.3.17"
|
||||
libc = "0.2.103"
|
||||
nix = "0.23.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue