Skip to content

Update opentelemetry-go monorepo to v1.36.0 #3395

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/otel v1.35.0 -> v1.36.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0 -> v1.36.0 age adoption passing confidence

Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)

v1.36.0: /v0.58.0/v0.12.0

Compare Source

Added
  • Add exponential histogram support in go.opentelemetry.io/otel/exporters/prometheus. (#​6421)
  • The go.opentelemetry.io/otel/semconv/v1.31.0 package.
    The package contains semantic conventions from the v1.31.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.30.0. (#​6479)
  • Add Recording, Scope, and Record types in go.opentelemetry.io/otel/log/logtest. (#​6507)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​6751)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​6752)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​6688)
  • Add ValuesGetter in go.opentelemetry.io/otel/propagation, a TextMapCarrier that supports retrieving multiple values for a single key. (#​5973)
  • Add Values method to HeaderCarrier to implement the new ValuesGetter interface in go.opentelemetry.io/otel/propagation. (#​5973)
  • Update Baggage in go.opentelemetry.io/otel/propagation to retrieve multiple values for a key when the carrier implements ValuesGetter. (#​5973)
  • Add AssertEqual function in go.opentelemetry.io/otel/log/logtest. (#​6662)
  • The go.opentelemetry.io/otel/semconv/v1.32.0 package.
    The package contains semantic conventions from the v1.32.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.31.0(#​6782)
  • Add Transform option in go.opentelemetry.io/otel/log/logtest. (#​6794)
  • Add Desc option in go.opentelemetry.io/otel/log/logtest. (#​6796)
Removed
  • Drop support for [Go 1.22]. (#​6381, #​6418)
  • Remove Resource field from EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#​6494)
  • Remove RecordFactory type from go.opentelemetry.io/otel/log/logtest. (#​6492)
  • Remove ScopeRecords, EmittedRecord, and RecordFactory types from go.opentelemetry.io/otel/log/logtest. (#​6507)
  • Remove AssertRecordEqual function in go.opentelemetry.io/otel/log/logtest, use AssertEqual instead. (#​6662)
Changed
  • ⚠️ Update github.com/prometheus/client_golang to v1.21.1, which changes the NameValidationScheme to UTF8Validation.
    This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores.
    This can be reverted by setting github.com/prometheus/common/model.NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#​6433)
  • Initialize map with len(keys) in NewAllowKeysFilter and NewDenyKeysFilter to avoid unnecessary allocations in go.opentelemetry.io/otel/attribute. (#​6455)
  • go.opentelemetry.io/otel/log/logtest is now a separate Go module. (#​6465)
  • go.opentelemetry.io/otel/sdk/log/logtest is now a separate Go module. (#​6466)
  • Recorder in go.opentelemetry.io/otel/log/logtest no longer separately stores records emitted by loggers with the same instrumentation scope. (#​6507)
  • Improve performance of BatchProcessor in go.opentelemetry.io/otel/sdk/log by not exporting when exporter cannot accept more. (#​6569, #​6641)
Deprecated
  • Deprecate support for model.LegacyValidation for go.opentelemetry.io/otel/exporters/prometheus. (#​6449)
Fixes
  • Stop percent encoding header environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​6392)
  • Ensure the noopSpan.tracerProvider method is not inlined in go.opentelemetry.io/otel/trace so the go.opentelemetry.io/auto instrumentation can instrument non-recording spans. (#​6456)
  • Use a sync.Pool instead of allocating metricdata.ResourceMetrics in go.opentelemetry.io/otel/exporters/prometheus. (#​6472)

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

| datasource | package                                                         | from    | to      |
| ---------- | --------------------------------------------------------------- | ------- | ------- |
| go         | go.opentelemetry.io/otel                                        | v1.35.0 | v1.36.0 |
| go         | go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc | v1.35.0 | v1.36.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 22, 2025
@renovate renovate bot requested a review from a team as a code owner May 22, 2025 07:35
@renovate renovate bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 22, 2025
@renovate renovate bot enabled auto-merge (squash) May 22, 2025 07:35
Copy link
Contributor Author

renovate bot commented May 22, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 10 additional dependencies were updated

Details:

Package Change
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 -> v1.36.0
go.opentelemetry.io/otel/metric v1.35.0 -> v1.36.0
go.opentelemetry.io/otel/sdk v1.35.0 -> v1.36.0
go.opentelemetry.io/otel/trace v1.35.0 -> v1.36.0
go.opentelemetry.io/proto/otlp v1.5.0 -> v1.6.0
golang.org/x/net v0.39.0 -> v0.40.0
golang.org/x/sys v0.32.0 -> v0.33.0
golang.org/x/term v0.31.0 -> v0.32.0
google.golang.org/genproto/googleapis/api v0.0.0-20250422160041-2d3770c4ea7f -> v0.0.0-20250519155744-55703ea1f237
google.golang.org/genproto/googleapis/rpc v0.0.0-20250422160041-2d3770c4ea7f -> v0.0.0-20250519155744-55703ea1f237

Copy link

codecov bot commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.74%. Comparing base (4ccceb9) to head (3751ea6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3395      +/-   ##
==========================================
- Coverage   86.78%   86.74%   -0.05%     
==========================================
  Files         129      129              
  Lines       14928    14928              
  Branches       62       62              
==========================================
- Hits        12956    12950       -6     
- Misses       1822     1827       +5     
- Partials      150      151       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot merged commit 7854d84 into main May 22, 2025
42 checks passed
@renovate renovate bot deleted the renovate/opentelemetry-go-monorepo branch May 22, 2025 18:39
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in NGINX Gateway Fabric May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants