Rate limit metrics per log level (#4313)

* Rate limit metrics per log level

* fix tests
This commit is contained in:
Pankaj Garg
2019-05-16 22:27:05 -07:00
committed by GitHub
parent 39e85a3e53
commit e920191de0
7 changed files with 124 additions and 59 deletions

View File

@ -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)