Skip to content
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

[exporter/datadog] Run source providers in parallel #24234

Merged

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Jul 12, 2023

Description:

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)

Testing: Added unit test

Documentation: Performance improvement, no new docs needed

@mx-psi mx-psi requested review from a team and songy23 as code owners July 12, 2023 11:48
@github-actions github-actions bot added the exporter/datadog Datadog components label Jul 12, 2023
@mx-psi mx-psi added the ready to merge Code review completed; ready to merge by maintainers label Jul 12, 2023
@codeboten codeboten merged commit 7f36419 into open-telemetry:main Jul 12, 2023
82 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 12, 2023
fyuan1316 pushed a commit to fyuan1316/opentelemetry-collector-contrib that referenced this pull request Jul 13, 2023
…4234)

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 open-telemetry#24072.

**Link to tracking Issue:** Updates open-telemetry#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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/datadog Datadog components ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants