mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
Implement proxy metrics collection. Only collect metric for outbound traffic. Add proxy CLI parameters: - metric-collection-endpoint - metric-collection-interval. Add test_proxy_metric_collection test. Move shared consumption metrics code to libs/consumption_metrics. Refactor the code.
17 lines
488 B
TOML
17 lines
488 B
TOML
[package]
|
|
name = "consumption_metrics"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.68"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
|
|
rand = "0.8.3"
|
|
serde = "1.0.152"
|
|
serde_with = "2.1.0"
|
|
utils = { version = "0.1.0", path = "../utils" }
|
|
workspace_hack = { version = "0.1.0", path = "../../workspace_hack" }
|