25053e5e8a
* Generic prom wrapper idea * Extend packet_statistics control with prom metrics * Replace counters with Counters * Add legacy mixnode api route * fmt * Sanitize metric names * Format metrics * Script to make prom targets * More metrics * Update script * Make sure we dont panic in the future * Remove fragile test * Add metrics endpoint auth * Remove per IP metrics * Update target script, node_exporter setup * Remove prom from client * Simplify node stat * Centralize metrice, break cpucycles temporarily * Remove prometheus from mixnode * Add cpu-cycles to Prom * Further centralize Registry * Cleanup old tracing * Remove spurious assignment * Move cpu-cycles to metrics * Add features * setup_logging before logging * Remove cpucycle measurement in favour of time * Cleanup, hygine
40 lines
1.3 KiB
TOML
40 lines
1.3 KiB
TOML
[package]
|
|
name = "nym-mixnode-common"
|
|
version = "0.1.0"
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bytes = "1.0"
|
|
futures = { workspace = true }
|
|
humantime-serde = "1.0"
|
|
log = { workspace = true }
|
|
rand = "0.8"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio = { version = "1.24.1", features = [
|
|
"time",
|
|
"macros",
|
|
"rt",
|
|
"net",
|
|
"io-util",
|
|
] }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
url = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
nym-crypto = { path = "../crypto" }
|
|
nym-network-defaults = { path = "../network-defaults" }
|
|
nym-sphinx-acknowledgements = { path = "../nymsphinx/acknowledgements" }
|
|
nym-sphinx-addressing = { path = "../nymsphinx/addressing" }
|
|
nym-sphinx-forwarding = { path = "../nymsphinx/forwarding" }
|
|
nym-sphinx-framing = { path = "../nymsphinx/framing" }
|
|
nym-sphinx-params = { path = "../nymsphinx/params" }
|
|
nym-sphinx-types = { path = "../nymsphinx/types" }
|
|
nym-task = { path = "../task" }
|
|
nym-validator-client = { path = "../client-libs/validator-client" }
|
|
nym-bin-common = { path = "../bin-common" }
|
|
nym-metrics = { path = "../nym-metrics" }
|