Rate limit metrics per log level (#4313)
* Rate limit metrics per log level * fix tests
This commit is contained in:
@ -9,6 +9,7 @@ edition = "2018"
|
||||
homepage = "https://solana.com/"
|
||||
|
||||
[dependencies]
|
||||
log = "0.4.2"
|
||||
serde_json = "1.0.39"
|
||||
solana-metrics = { path = "../metrics", version = "0.15.0" }
|
||||
|
||||
|
@ -77,6 +77,7 @@ fn main() {
|
||||
influxdb::Value::String(git_commit_hash.trim().to_string()),
|
||||
)
|
||||
.to_owned(),
|
||||
log::Level::Info,
|
||||
);
|
||||
}
|
||||
let last_median = get_last_metrics(&"median".to_string(), &db, &name, &branch)
|
||||
|
Reference in New Issue
Block a user