Skip to content

[9.4](backport #17249) feat: update OTel Collector components from 0.161.0 to 0.163.0 - #17329

Merged
swiatekm merged 3 commits into
elastic:9.4from
andrzej-stencel:backport-17249-to-9.4
Oct 21, 2026
Merged

swiatekm merged 3 commits into
elastic:9.4from
andrzej-stencel:backport-17249-to-9.4

Conversation

@andrzej-stencel

Copy link
Copy Markdown
Contributor

Manual backport of #17249 to 9.4. Mergify could not create this backport automatically because of conflicts in go.mod/go.sum, the NOTICE files, the generated EDOT README and the beats submodule.

What does this PR do?

Updates the OpenTelemetry Collector components to v0.163.0. See changelogs since v0.161.0 for Core and Contrib.

Also updates Beats and Elastic OTel components to versions compatible with upstream v0.163.0:

  • elastic/beats is set to 5c2632765b253a2aed3375c6d0d9b4801a4a399a, the current tip of the beats 9.4 branch (which already contains the beats update to OTel v0.163.0).
  • elastic/opentelemetry-collector-components v0.74.0 → v0.77.0, elastic/opentelemetry-lib v0.47.0 → v0.49.0, as on main.

Conflicts resolved by hand in testing/integration/ess/diagnostics_test.go (the 9.4 branch does not yet have per-stream subdirectories in the diagnostics archive, so the file patterns were kept as they are on 9.4) and testing/integration/ess/beat_receivers_test.go.

Compared to the original PR, this backport does not include beats #53811 (beatsauthextension continue_on_error fix), as it has not been backported to the beats 9.4 branch yet. Once it is, the beats submodule can be bumped again in a regular beats-update PR.

Why is it important?

We should be keeping the OTel components up to date with upstream as much as possible.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • 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
  • I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test

Disruptive User Impact

None expected; dependency update.

How to test this PR locally

mage test:all

Locally verified: go build ./... and go vet for the root and internal/edot modules, unit tests of ./internal/pkg/otel/... and internal/edot/..., and golangci-lint on the changed files.

Related issues

Created-By: Claude Fable 5.1

…ic#17249)

Update elastic/beats to 5c2632765b253a2aed3375c6d0d9b4801a4a399a

Update OTel Collector components from 0.161.0 to 0.163.0.

Fixes some tests that started failing due to the update.

Assisted-by: Cursor, Model: GPT-5.6 Sol & Terra

---------

Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>

(cherry picked from commit ddcb525)
@andrzej-stencel
andrzej-stencel requested a review from a team as a code owner October 20, 2026 14:45
@andrzej-stencel
andrzej-stencel requested review from lorienhu and removed request for a team October 20, 2026 14:45
@andrzej-stencel andrzej-stencel added enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team backport labels Oct 20, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@andrzej-stencel andrzej-stencel self-assigned this Oct 20, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @andrzej-stencel

@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@swiatekm
swiatekm merged commit b20d8c5 into elastic:9.4 Oct 21, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants