statsd-filter-proxy-rs:StatsD的过滤器代理

时间:2021-04-12 22:41:25
【文件属性】:
文件名称:statsd-filter-proxy-rs:StatsD的过滤器代理
文件大小:11KB
文件格式:ZIP
更新时间:2021-04-12 22:41:25
Rust statsd-filter-proxy-rs statsd-filter-proxy-rs是高效且轻量级的StatsD代理,可将不需要的指标过滤到StatsD服务器。 为什么 “如果您不想要指标,为什么不停止发送指标呢?” 你可能会问。 有时,由于规模,遗留代码和时间限制,禁用指标并非易事。 有时,禁用大量指标的最快方法是部署代理以阻止它们。 入门 要构建代理,您需要 防锈工具集 锈1.51+ 货物 您也可以从获得它们 跑步 export PROXY_CONFIG_FILE=/path/to/your/proxy-config-file.json RUST_LOG=debug cargo run --release PROXY_CONFIG_FILE是指向配置文件路径的必需变量。 RUST_LOG是定义日志级别的可选变量。 它们可以是error , warn , info , de
【文件预览】:
statsd-filter-proxy-rs-main
----Cargo.toml(404B)
----.github()
--------workflows()
----src()
--------main.rs(411B)
--------config.rs(2KB)
--------server.rs(2KB)
--------filter.rs(862B)
----benchmark()
--------benchmark.py(2KB)
--------statsd-filter-proxy.js(1KB)
----LICENSE(1KB)
----test()
--------integration_test.py(2KB)
--------good_config.json(206B)
--------bad_config.json(159B)
----README.md(3KB)
----.gitignore(371B)

网友评论