cleanup(otel): move otelbeat packages to x-pack/otel
Proposed commit message
Move the remaining otelbeat packages to x-pack/otel so that all otel-related code is centralized.
Checklist
- [ ] My code follows the style guidelines of this project
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have made corresponding change to the default configuration files
- [ ] I have added tests that prove my fix is effective or that my feature works. Where relevant, I have used the
stresstest.shscript to run them under stress conditions and race detector to verify their stability. - [ ] I have added an entry in
./changelog/fragmentsusing the changelog tool.
How to test this PR locally
cd x-pack/filebeat
mage goIntegTest
cd x-pack/metricbeat
mage goIntegTest
Related issues
- Relates https://github.com/elastic/beats/pull/47338
- Relates https://github.com/elastic/beats/pull/47772
- Relates https://github.com/elastic/beats/pull/47804
- Closes https://github.com/elastic/ingest-dev/issues/6207
:robot: GitHub comments
Just comment with:
rundocs-build: Re-trigger the docs validation. (use unformatted text in the comment!)
/test
/test
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
Some intermittent agent lost failures are occurring in CI. It seems to be a widespread issue on Buildkite.
/test
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)
@narph we will need someone from your team to review here please.
Moving to draft until I can fix the conflicts.
This pull request is now in conflicts. Could you fix it? 🙏 To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
git fetch upstream
git checkout -b rellocate-xpack-otel upstream/rellocate-xpack-otel
git merge upstream/main
git push upstream rellocate-xpack-otel
/test
/test
This pull request is now in conflicts. Could you fix it? 🙏 To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
git fetch upstream
git checkout -b rellocate-xpack-otel upstream/rellocate-xpack-otel
git merge upstream/main
git push upstream rellocate-xpack-otel
There's something causing CI to break. The x-pack/otel: run check step normally takes less than six minutes, but it's losing the agent around the 19-minute mark:
make -C x-pack/otel check && make check-no-changes
...
go: downloading github.com/Azure/go-autorest/autorest/validation v0.3.1
go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
go: downloading github.com/kylelemons/godebug v1.1.0
Exited with status -1 (agent lost)
I ran the same command locally and it works, so I need to check which change in this PR caused the issue.
This pull request is now in conflicts. Could you fix it? 🙏 To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
git fetch upstream
git checkout -b rellocate-xpack-otel upstream/rellocate-xpack-otel
git merge upstream/main
git push upstream rellocate-xpack-otel