Open mcheshier1 opened 6 years ago
Thank you for your report, but I can't reproduce the issue.
Maybe I misunderstand some steps. Here are the steps I tried:
https://xxxx.cloudfront.net/metrics
).After these steps, it looks like the new namespace and dimensions are saved correctly.
Hi ks888, did you point it at a metric with no dimensions? It should look like
@mcheshier1 Running into the same issue here, did you find a workaround? Does it make sense to add a dimension?
If anyone stumbles upon this: An easy fix is to reuse your existing namespace and metric name for the dimension, then you'll be able to add them to LambStatus. In Node I'm using sth like this:
var params = {
MetricData: [
{
MetricName: metric,
Timestamp: new Date(),
Unit: 'Count',
Value: value,
Dimensions: [{
Name: 'MyMetric',
Value: metric,
}],
},
],
Namespace: 'MyMetric/' + namespace,
};
CloudWatch.putMetricData(params, callback);
I'm on the latest version. (.64)
To reproduce: