debugging code for metrics
This commit is contained in:
@@ -295,6 +295,7 @@ impl MetricsCollector {
|
||||
loop {
|
||||
interval.tick().await;
|
||||
let metric = self.collect_metrics();
|
||||
println!("Collected metrics: {:?}", metric);
|
||||
|
||||
match client.post(&url).json(&metric).send().await {
|
||||
Ok(res) => println!(
|
||||
|
Reference in New Issue
Block a user