You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using sendDistributionMetricWithDate with a valid date and extension is running. It should send the metric.
sendDistributionMetricWithDate(
'aws.cognito.custom.EstimatedNumberOfUsers',
nbUsers || 0,
new Date()
);
Actual Behavior
I am having a permission issue while my api key secret arn is well setup.
In my case, I could just replace by sendDistributionMetric to make it work. Apparently it passes an invalid date to sendDistributionMetricWithDate to pass through this code
Expected Behavior
when using
sendDistributionMetricWithDate
with a valid date and extension is running. It should send the metric.Actual Behavior
I am having a permission issue while my api key secret arn is well setup.
In my case, I could just replace by
sendDistributionMetric
to make it work. Apparently it passes an invalid date tosendDistributionMetricWithDate
to pass through this codedatadog-lambda-js/src/metrics/listener.ts
Line 159 in 9e4af12
When the date is valid it does a direct call to the api and I get a permission issue.
Steps to Reproduce the Problem
1.sending metric with sendDistributionMetricWithDate and a valid date
Specifications
Datadog-Extension-ARM:65
Stacktrace
Permission issue
The text was updated successfully, but these errors were encountered: