Compare commits
No commits in common. "7ab7caa50e1f2473c66c46d7d611e1fff129888d" and "2c55f5eb54d7fb4686bec79f5943ae5806997c9a" have entirely different histories.
7ab7caa50e
...
2c55f5eb54
1 changed files with 1 additions and 5 deletions
|
@ -33,7 +33,7 @@ struct OtsdbData {
|
|||
metric: String,
|
||||
value: OtsdbValue,
|
||||
timestamp: i64,
|
||||
tags: HashMap<String, OtsdbValue>,
|
||||
tags: HashMap<String, String>,
|
||||
}
|
||||
|
||||
const CONFIG_FILE: &str = "config.yaml";
|
||||
|
@ -70,10 +70,6 @@ async fn put_post(
|
|||
let post_url = format!("{}put", shared.cfg.config.opentsdb.url);
|
||||
let otsdb_body = serde_json::to_string(&body).unwrap();
|
||||
|
||||
info!(
|
||||
"{} sent metric {}={:?}",
|
||||
client.name, body.metric, body.value
|
||||
);
|
||||
debug!("POST {} with body: {}", post_url, otsdb_body);
|
||||
|
||||
let response = shared
|
||||
|
|
Loading…
Reference in a new issue