metrics debug
This commit is contained in:
@@ -140,6 +140,7 @@ pub async fn send_metrics(
|
||||
) -> Result<(), Box<dyn Error + Send + Sync>> {
|
||||
let client = Client::new();
|
||||
let url = format!("{}/monitoring/metric", base_url);
|
||||
println!("Metrics: {:?}", metrics);
|
||||
|
||||
match client.post(&url).json(&metrics).send().await {
|
||||
Ok(res) => println!(
|
||||
|
Reference in New Issue
Block a user