Skip to content

chore(deps): update OTel Collector dependencies from 0.165.x to 0.166.0 - #54929

Open
andrzej-stencel wants to merge 3 commits into
elastic:mainfrom
andrzej-stencel:update-otel-to-v0.166.0
Open

andrzej-stencel wants to merge 3 commits into
elastic:mainfrom
andrzej-stencel:update-otel-to-v0.166.0

Conversation

@andrzej-stencel

Copy link
Copy Markdown
Contributor

Proposed commit message

Updates the OpenTelemetry Collector dependencies to the current latest versions: Core v0.166.0/v1.72.0, Contrib v0.166.0 (k8sattributesprocessor v1.5.0). See changes since v0.165.0 for Core and Contrib.

Notable transitive updates pulled in by go mod tidy: golang.org/x/crypto v0.58.0 → v0.59.0 (which splits out the deprecated golang.org/x/crypto/openpgp into its own module, now an indirect dependency via github.com/cavaliergopher/rpm), github.com/aws/aws-sdk-go-v2 v1.47.5 → v1.48.0, github.com/moby/moby/api v1.55.0 → v1.56.1, github.com/prometheus/common v0.72.1 → v0.74.0, and other golang.org/x/* modules.

Why is it important?

We want to be on the latest version to keep up with latest features and bug fixes.

Commands used to prepare the change (using sed on MacOS):

sed -i '' "s/v0\.165\.0/v0.166.0/" x-pack/otel/Makefile
sed -E -i '' "s|(go\.opentelemetry\.io\/collector.*) v0\.165\.[^ ]+|\1 v0.166.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
sed -E -i '' "s|(go\.opentelemetry\.io\/collector.*) v1\.71\.0|\1 v1.72.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
sed -E -i '' "s|(github.com/open-telemetry/opentelemetry-collector-contrib/.*) v0\.165\.[^ ]+|\1 v0.166.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
sed -E -i '' "s|(github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor) v1\.4\.1|\1 v1.5.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
go mod tidy
make notice
(cd x-pack/otel && make build-otel-distro-ci)

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.

How to test this PR locally

(cd x-pack/otel && make build-otel-distro-ci)

🤖 Generated with Claude Code

andrzej-stencel and others added 2 commits November 25, 2026 15:39
Core: v0.166.0 / v1.72.0
Contrib: v0.166.0 (k8sattributesprocessor v1.5.0)

Commands used (sed on macOS), followed by `go mod tidy`:

```
sed -i '' "s/v0\.165\.0/v0.166.0/" x-pack/otel/Makefile
sed -E -i '' "s|(go\.opentelemetry\.io\/collector.*) v0\.165\.[^ ]+|\1 v0.166.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
sed -E -i '' "s|(go\.opentelemetry\.io\/collector.*) v1\.71\.0|\1 v1.72.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
sed -E -i '' "s|(github.com/open-telemetry/opentelemetry-collector-contrib/.*) v0\.165\.[^ ]+|\1 v0.166.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
sed -E -i '' "s|(github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor) v1\.4\.1|\1 v1.5.0|" go.mod x-pack/otel/distributions/beats-otel-collector/manifest.yaml
```

Assisted-By: Claude Opus 5.5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-By: Claude Opus 5.5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrzej-stencel
andrzej-stencel requested review from a team as code owners November 25, 2026 14:40
@andrzej-stencel andrzej-stencel added Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team backport-active-all Automated backport with mergify to all the active branches skip-changelog labels Nov 25, 2026
@botelastic botelastic Bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 25, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@github-actions

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • /test : Run the Buildkite pipeline.

@mergify

mergify Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

@mergify

mergify Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

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 update-otel-to-v0.166.0 upstream/update-otel-to-v0.166.0
git merge upstream/main
git push upstream update-otel-to-v0.166.0

This branch has not been deployed

No deployments
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 skip-changelog Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants