5327d238e3
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
26 lines
575 B
TOML
26 lines
575 B
TOML
[package]
|
|
name = "xanthous-server"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
clap = "3.0.0-beta.5"
|
|
color-eyre = "0.5.11"
|
|
eyre = "0.6.5"
|
|
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"
|
|
|
|
# Pins for rust 1.55 (2018 edition) until we have 1.56 in nixpkgs-unstable
|
|
pbkdf2 = "<0.9"
|
|
base64ct = "<1.2"
|
|
|
|
[dependencies.tokio]
|
|
version = "1.13"
|
|
features = ["rt", "rt-multi-thread", "macros", "net", "process", "fs", "signal"]
|