Skip to content

Conversation

@atoulme
Copy link
Contributor

@atoulme atoulme commented Sep 21, 2025

Description

Some dependencies of datadogexporter are other components, which themselves are bringing over dependencies to anyone using this exporter. This PR moves the e2e tests to a separate module to avoid this complexity.

Link to tracking issue

Fixes #42591

Copy link
Member

@paulojmdias paulojmdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM ✅

We need to fix the conflicts on this branch.

Linking the #42802 and #42804, as I think we should merge this PR first before reviewing those.

@atoulme atoulme force-pushed the move_out_e2e_tests branch 2 times, most recently from e4cfac9 to eaf3f49 Compare September 28, 2025 06:44
Copy link
Contributor

@jade-guiton-dd jade-guiton-dd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like some of the import statements will need to be updated for the latest core release, and you may need to re-run make crosslink to fix the replace statements; otherwise looks good.

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @atoulme Please rebase or merge main, otherwise LGTM

@atoulme atoulme force-pushed the move_out_e2e_tests branch from eaf3f49 to 2c8142b Compare October 8, 2025 06:07
@atoulme atoulme force-pushed the move_out_e2e_tests branch from 2c8142b to a6e3b4d Compare October 8, 2025 06:18
@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Oct 8, 2025
Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this @atoulme ❤️

@mx-psi mx-psi merged commit 7a51772 into open-telemetry:main Oct 8, 2025
203 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 8, 2025
etserend pushed a commit to etserend/opentelemetry-collector-contrib that referenced this pull request Oct 9, 2025
…pen-telemetry#42805)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Some dependencies of datadogexporter are other components, which
themselves are bringing over dependencies to anyone using this exporter.
This PR moves the e2e tests to a separate module to avoid this
complexity.


<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#42591
mashhurs pushed a commit to mashhurs/opentelemetry-collector-contrib that referenced this pull request Oct 9, 2025
…pen-telemetry#42805)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Some dependencies of datadogexporter are other components, which
themselves are bringing over dependencies to anyone using this exporter.
This PR moves the e2e tests to a separate module to avoid this
complexity.


<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#42591
tommyers-elastic pushed a commit to tommyers-elastic/opentelemetry-collector-contrib that referenced this pull request Oct 10, 2025
…pen-telemetry#42805)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Some dependencies of datadogexporter are other components, which
themselves are bringing over dependencies to anyone using this exporter.
This PR moves the e2e tests to a separate module to avoid this
complexity.


<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes open-telemetry#42591
atoulme pushed a commit that referenced this pull request Oct 24, 2025
#### Description

#42805 moved Datadog's E2E tests into `internal/e2e`, and the example
configurations used as part of the tests into `internal/e2e/examples`.
The intent was to move the tests into `internal/datadog/e2e` instead,
but it looks like this change was accidentally reverted during a force
push. Moreover, it seems that moving the example configs created some
broken links (eg. [here,
"collector.yaml"](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/datadogexporter#datadog-exporter),
[here, "example
configuration"](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter/deploy/?tab=gateway#kubernetes)).

This PR:
- moves `internal/e2e` to `internal/datadog/e2e`
- moves the example configs back to their original location to restore
these links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connector/datadog exporter/datadog Datadog components internal/datadog ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[exporter/datadog] datadogexporter has direct dependency on multiple other components

6 participants