metrics debug

This commit is contained in:
Patrick Mahnke-Hartmann
2025-09-01 17:54:05 +02:00
parent 10043cb0d3
commit bb8e3b3c28

View File

@@ -140,6 +140,7 @@ pub async fn send_metrics(
) -> Result<(), Box<dyn Error + Send + Sync>> { ) -> Result<(), Box<dyn Error + Send + Sync>> {
let client = Client::new(); let client = Client::new();
let url = format!("{}/monitoring/metric", base_url); let url = format!("{}/monitoring/metric", base_url);
println!("Metrics: {:?}", metrics);
match client.post(&url).json(&metrics).send().await { match client.post(&url).json(&metrics).send().await {
Ok(res) => println!( Ok(res) => println!(