Skip to content

Commit a6ade67

Browse files
committed
Include the gauge name in the namespace
this results in metrics forwarded like `datalake.<manifestkey>.<metricname>.<column>` = `<value>`
1 parent ef00ee4 commit a6ade67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/query-metrics/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async fn function_handler(_event: LambdaEvent<CloudWatchEvent>) -> Result<(), Er
102102

103103
let res = cloudwatch
104104
.put_metric_data()
105-
.namespace(format!("DataLake/{name}"))
105+
.namespace(format!("DataLake/{name}/{}", &gauge.name))
106106
.metric_data(datum)
107107
.send()
108108
.await?;

0 commit comments

Comments
 (0)