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
Sending monitoring data without logging errors, as it is configured according to documentation.
Actual Behavior
On every instance start we are getting this datadog:api key not configured error. All APM data and logs are being sent normally, but I believe this behavior of throwing error is not expected, as it was a false warning.
When I changed my code to use the apiKey parameter instead of apiKeySecretArn the error stoped showing.
Steps to Reproduce the Problem
Pass the key to dd extension using the apiKeySecretArn parameter
Observe the error log on every instance start
Specifications
Serverless Framework version: 2.72.2
Datadog Serverless Plugin version: 3.7.1
Lambda function runtime (Python 3.7, Node 10, etc.): Node 14
Stacktrace
2022-03-08T13:22:09.277Z undefined ERROR {"status":"error","message":"datadog:api key not configured, see https://dtdg.co/sls-node-metrics"}
The text was updated successfully, but these errors were encountered:
Expected Behavior
Sending monitoring data without logging errors, as it is configured according to documentation.
Actual Behavior
On every instance start we are getting this
datadog:api key not configured
error. All APM data and logs are being sent normally, but I believe this behavior of throwing error is not expected, as it was a false warning.When I changed my code to use the
apiKey
parameter instead ofapiKeySecretArn
the error stoped showing.Steps to Reproduce the Problem
Specifications
Stacktrace
The text was updated successfully, but these errors were encountered: