log: show requests
All checks were successful
ci / docker-build (push) Successful in 5m13s

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
Frank Villaro-Dixon 2024-05-25 01:10:15 +02:00
parent 0f12bbf71e
commit 7ab7caa50e

View file

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