Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
0f12bbf71e
commit
7ab7caa50e
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ async fn put_post(
|
||||||
let post_url = format!("{}put", shared.cfg.config.opentsdb.url);
|
let post_url = format!("{}put", shared.cfg.config.opentsdb.url);
|
||||||
let otsdb_body = serde_json::to_string(&body).unwrap();
|
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);
|
debug!("POST {} with body: {}", post_url, otsdb_body);
|
||||||
|
|
||||||
let response = shared
|
let response = shared
|
||||||
|
|
Loading…
Reference in a new issue