Skip to content

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

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

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

Conversation

@andrzej-stencel

Copy link
Copy Markdown
Contributor

Manual backport of #17249 to 9.5. 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 f51e2ed78994b7c5170524008c17e7e79c13b2c4, the current tip of the beats 9.5 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.

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.5 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 f51e2ed78994b7c5170524008c17e7e79c13b2c4

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 macdewee 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
@andrzej-stencel andrzej-stencel self-assigned this Oct 20, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

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

@infra-vault-gh-plugin-prod

infra-vault-gh-plugin-prod Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

💔 Build Failed

Failed CI Steps

History

cc @andrzej-stencel

@swiatekm
swiatekm enabled auto-merge (squash) October 21, 2026 10:54
@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 18ebfbd into elastic:9.5 Oct 21, 2026
33 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