-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't workingexporter/datadogDatadog componentsDatadog componentsneeds triageNew item requiring triageNew item requiring triage
Description
Component(s)
exporter/datadog
What happened?
Description
Error while validaing API key: i/o timeout in serverless
Steps to Reproduce
Collector initialization in lambda/cloudrun frequently have timeouts on initialization trying to validate the api key, this may take a lot of time and times out the function initialization.
Expected Result
Have an option for not doing this check on serverless environments. We can't depend on a external service responding on each function startup.
Actual Result
Collector version
0.64.0
Environment information
Environment
OS: Docker Distroless
Compiler(if manually compiled): go 1.17
OpenTelemetry Collector configuration
No response
Log output
023-02-01T01:27:36.162Z warn Error while validating API key {"kind": "exporter", "data_type": "metrics", "name": "datadog", "error": "Get \"https://api.datadoghq.com/api/v1/validate\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingexporter/datadogDatadog componentsDatadog componentsneeds triageNew item requiring triageNew item requiring triage