-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws ressource detectors are excuted even if not configured #24072
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This log likely comes from the Datadog exporter and not from the resource detection processor. The Datadog exporter calls the AWS EC2 endpoint to determine the cloud provider the Collector is running on. This is not configurable at the moment, one way to avoid the call is to set the |
Make Datadog exporter source providers run in parallel to reduce start times. With the new `Chain` implementation, we start checking all sources in parallel instead of waiting for the previous one to fail. This makes the Datadog exporter call all cloud provider endpoints in all cloud providers, so it may increase spurious logs such as those reported in #24072. **Link to tracking Issue:** Updates #16442 (at least it should substantially improve start time in some environments) --------- Co-authored-by: Yang Song <[email protected]> Co-authored-by: Alex Boten <[email protected]>
I am going to close this as a duplicate of #22807. Let's continue the discussion over there |
Component(s)
exporter/datadog
What happened?
Description
Although not configured the at least aws detector (maybe other as well) is executed anyway
Steps to Reproduce
Configure the processor for detection without aws but still find warnings because scanning for aws cloud api is to not successfull
Expected Result
Only those detectors configured will be executed
Actual Result
Aws (and maybe others) are still involved
Collector version
0.81.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 1.20.5")
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: