From 5327d238e3f292e8c5d9b161df1ee3b56665aa96 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 7 Nov 2021 16:15:25 -0500 Subject: 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 Tested-by: BuildkiteCI --- users/grfn/xanthous/server/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'users/grfn/xanthous/server/Cargo.toml') diff --git a/users/grfn/xanthous/server/Cargo.toml b/users/grfn/xanthous/server/Cargo.toml index 929970939933..6772d75ec88f 100644 --- a/users/grfn/xanthous/server/Cargo.toml +++ b/users/grfn/xanthous/server/Cargo.toml @@ -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" -- cgit 1.4.1