Skip to content

Update otel v0.130.0 #9054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

andrzej-stencel
Copy link
Contributor

🚧 Work in progress; waiting for Beats update 🚧

What does this PR do?

Updates OTel components to v0.130.0. See changelog for Core and Contrib.

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

How to test this PR locally

go build .
sudo ./elastic-agent otel

🚧 Currently the build fails:

$ go build .
# github.com/elastic/beats/v7/metricbeat/helper/prometheus
../../../../go/pkg/mod/github.com/elastic/beats/[email protected]/metricbeat/helper/prometheus/textparse.go:479:84: not enough arguments in call to textparse.New
        have ([]byte, string, string, bool, bool, *labels.SymbolTable)
        want ([]byte, string, string, bool, bool, bool, *labels.SymbolTable)
../../../../go/pkg/mod/github.com/elastic/beats/[email protected]/metricbeat/helper/prometheus/textparse.go:577:21: cannot range over lset.Copy() (value of struct type labels.Labels)

To fix that, Beats must be updated to the version used in the OTel Collector - v0.304.3-0.20250703114031-419d436a447a.

@andrzej-stencel andrzej-stencel added backport-8.19 Automated backport to the 8.19 branch backport-9.1 Automated backport to the 9.1 branch enhancement New feature or request labels Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.19 Automated backport to the 8.19 branch backport-9.1 Automated backport to the 9.1 branch enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants