Skip to content

feat: update OTel Collector components from 0.161.0 to 0.163.0 - #17249

Merged
belimawr merged 11 commits into
elastic:mainfrom
andrzej-stencel:update-otel-to-v0.163.0
Oct 19, 2026
Merged

belimawr merged 11 commits into
elastic:mainfrom
andrzej-stencel:update-otel-to-v0.163.0

Conversation

@andrzej-stencel

Copy link
Copy Markdown
Contributor

What does this PR do?

Updates the OpenTelemetry Collector components to the current latest version 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.

Why is it important?

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

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
  • I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test

Assisted-by: Claude Opus 5.5

Also updates OTel Collector components from 0.161.0 to 0.163.0.
Using `CreateDefaultConfig` to prevent the error "sending_queue: batch: partition: `idle_timeout` must be positive, found 0s".
@andrzej-stencel
andrzej-stencel requested a review from a team as a code owner October 16, 2026 11:14
@andrzej-stencel andrzej-stencel added the enhancement New feature or request label Oct 16, 2026
@andrzej-stencel andrzej-stencel added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team backport-active-all Automated backport with mergify to all the active branches labels Oct 16, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

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

The Elasticsearch exporter now runs an additional query to Elasticsearch (version check),
which exhausted the mock server's requests.
This changes the mock server to only count _bulk requests towards the fail count.
Similar to elastic/beats@6f09a0d.
swiatekm
swiatekm previously approved these changes Oct 16, 2026
osullivandonal
osullivandonal previously approved these changes Oct 16, 2026
@belimawr belimawr self-assigned this Oct 16, 2026
@belimawr
belimawr dismissed stale reviews from osullivandonal and swiatekm via c9cc576 October 16, 2026 20:41
@belimawr

Copy link
Copy Markdown
Member

I updated Beats to match elastic/beats#53811 because it fixes a behaviour in beatsauthextension that was breaking some tests. Ideally we'd wait for it to be merged and update Beats here to be fully in sync with main.

Wait for the diagnostics archive to contain all expected files before
validating it.

Assisted-by: Cursor, Model: GPT-5.6 Terra
Assisted-by: gpt-5.6-terra-high
swiatekm
swiatekm previously approved these changes Oct 19, 2026
@belimawr

Copy link
Copy Markdown
Member

I'm still waiting on elastic/beats#53811 to be merged.

@mergify

mergify Bot commented Oct 19, 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.

@belimawr
belimawr merged commit ddcb525 into elastic:main Oct 19, 2026
33 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@Mergifyio backport 9.5 9.4 8.19

@mergify

mergify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

backport 9.5 9.4 8.19

❌ No backport have been created

Details
  • Backport to branch 9.5 failed

Git reported the following error:

hint: Recursive merging with submodules currently only supports trivial cases.
hint: Please manually handle the merging of each conflicted submodule.
hint: This can be accomplished with the following steps:
hint:  - come back to superproject and run:
hint:
hint:       git add beats
hint:
hint:    to record the above merge or update
hint:  - resolve any other conflicts in the superproject
hint:  - commit the resulting index in the superproject
hint:
hint: Disable this message with "git config advice.submoduleMergeConflict false"
Auto-merging NOTICE-fips.txt
CONFLICT (content): Merge conflict in NOTICE-fips.txt
Auto-merging NOTICE.txt
CONFLICT (content): Merge conflict in NOTICE.txt
Failed to merge submodule beats (not checked out)
CONFLICT (submodule): Merge conflict in beats
Auto-merging go.mod
CONFLICT (content): Merge conflict in go.mod
Auto-merging go.sum
CONFLICT (content): Merge conflict in go.sum
Auto-merging internal/edot/README.md
CONFLICT (content): Merge conflict in internal/edot/README.md
Auto-merging internal/edot/go.mod
CONFLICT (content): Merge conflict in internal/edot/go.mod
Auto-merging internal/edot/go.sum
CONFLICT (content): Merge conflict in internal/edot/go.sum
Auto-merging testing/integration/ess/beat_receivers_test.go
Auto-merging testing/integration/ess/diagnostics_test.go
error: could not apply ddcb525... feat: update OTel Collector components from 0.161.0 to 0.163.0 (#17249)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config advice.mergeConflict false"
  • Backport to branch 9.4 failed

Git reported the following error:

hint: Recursive merging with submodules currently only supports trivial cases.
hint: Please manually handle the merging of each conflicted submodule.
hint: This can be accomplished with the following steps:
hint:  - come back to superproject and run:
hint:
hint:       git add beats
hint:
hint:    to record the above merge or update
hint:  - resolve any other conflicts in the superproject
hint:  - commit the resulting index in the superproject
hint:
hint: Disable this message with "git config advice.submoduleMergeConflict false"
Auto-merging NOTICE-fips.txt
CONFLICT (content): Merge conflict in NOTICE-fips.txt
Auto-merging NOTICE.txt
CONFLICT (content): Merge conflict in NOTICE.txt
Failed to merge submodule beats (not checked out)
CONFLICT (submodule): Merge conflict in beats
Auto-merging go.mod
CONFLICT (content): Merge conflict in go.mod
Auto-merging go.sum
CONFLICT (content): Merge conflict in go.sum
Auto-merging internal/edot/README.md
CONFLICT (content): Merge conflict in internal/edot/README.md
Auto-merging internal/edot/go.mod
CONFLICT (content): Merge conflict in internal/edot/go.mod
Auto-merging internal/edot/go.sum
CONFLICT (content): Merge conflict in internal/edot/go.sum
Auto-merging internal/edot/otelcol/monitoring_test.go
Auto-merging testing/integration/ess/beat_receivers_test.go
CONFLICT (content): Merge conflict in testing/integration/ess/beat_receivers_test.go
Auto-merging testing/integration/ess/diagnostics_test.go
CONFLICT (content): Merge conflict in testing/integration/ess/diagnostics_test.go
error: could not apply ddcb525... feat: update OTel Collector components from 0.161.0 to 0.163.0 (#17249)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config advice.mergeConflict false"
  • Backport to branch 8.19 failed

Git reported the following error:

error: 'beats' does not have a commit checked out
fatal: updating files failed

@andrzej-stencel
andrzej-stencel deleted the update-otel-to-v0.163.0 branch October 20, 2026 07:10
swiatekm pushed a commit that referenced this pull request Oct 21, 2026
….161.0 to 0.163.0 (#17330)

* feat: update OTel Collector components from 0.161.0 to 0.163.0 (#17249)

Update elastic/beats to 4dd243778db2db9be912591b19c7b3ab25ecc5c4

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)
Co-authored-by: Cursor <cursoragent@cursor.com>

* Regenerate NOTICE files with standard module cache paths

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
swiatekm pushed a commit that referenced this pull request Oct 21, 2026
…161.0 to 0.163.0 (#17329)

* feat: update OTel Collector components from 0.161.0 to 0.163.0 (#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)

* Regenerate NOTICE files with standard module cache paths

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
swiatekm pushed a commit that referenced this pull request Oct 21, 2026
…161.0 to 0.163.0 (#17328)

* feat: update OTel Collector components from 0.161.0 to 0.163.0 (#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)

* Regenerate NOTICE files with standard module cache paths

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches 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.

5 participants