diff --git a/lambdas/query-metrics/src/main.rs b/lambdas/query-metrics/src/main.rs index bba39c5..f4cd38b 100644 --- a/lambdas/query-metrics/src/main.rs +++ b/lambdas/query-metrics/src/main.rs @@ -102,7 +102,7 @@ async fn function_handler(_event: LambdaEvent) -> Result<(), Er let res = cloudwatch .put_metric_data() - .namespace(format!("DataLake/{name}")) + .namespace(format!("DataLake/{name}/{}", &gauge.name)) .metric_data(datum) .send() .await?;