Skip to content

Update All OTEL SDK + contrib packages#8333

Merged
yurishkuro merged 3 commits intojaegertracing:mainfrom
renovate-bot:renovate/go-otel-sdk
Apr 10, 2026
Merged

Update All OTEL SDK + contrib packages#8333
yurishkuro merged 3 commits intojaegertracing:mainfrom
renovate-bot:renovate/go-otel-sdk

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0v0.68.0 age confidence
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0v0.68.0 age confidence
go.opentelemetry.io/contrib/samplers/jaegerremote v0.36.0v0.37.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0v1.43.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.42.0v1.43.0 age confidence
go.opentelemetry.io/otel/exporters/prometheus v0.64.0v0.65.0 age confidence
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.42.0v1.43.0 age confidence

Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlptrace)

v1.43.0: /v0.65.0/v0.19.0

Compare Source

Added

  • Add IsRandom and WithRandom on TraceFlags, and IsRandom on SpanContext in go.opentelemetry.io/otel/trace
    for W3C Trace Context Level 2 Random Trace ID Flag support. (#​8012)
  • Add service detection with WithService in go.opentelemetry.io/otel/sdk/resource. (#​7642)
  • Add DefaultWithContext and EnvironmentWithContext in go.opentelemetry.io/otel/sdk/resource to support plumbing context.Context through default and environment detectors. (#​8051)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#​8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#​8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#​8038)
  • Add support for per-series start time tracking for cumulative metrics in go.opentelemetry.io/otel/sdk/metric.
    Set OTEL_GO_X_PER_SERIES_START_TIMESTAMPS=true to enable. (#​8060)
  • Add WithCardinalityLimitSelector for metric reader for configuring cardinality limits specific to the instrument kind. (#​7855)

Changed

  • Introduce the EMPTY Type in go.opentelemetry.io/otel/attribute to reflect that an empty value is now a valid value, with INVALID remaining as a deprecated alias of EMPTY. (#​8038)
  • Refactor slice handling in go.opentelemetry.io/otel/attribute to optimize short slice values with fixed-size fast paths. (#​8039)
  • Improve performance of span metric recording in go.opentelemetry.io/otel/sdk/trace by returning early if self-observability is not enabled. (#​8067)
  • Improve formatting of metric data diffs in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#​8073)

Deprecated

  • Deprecate INVALID in go.opentelemetry.io/otel/attribute. Use EMPTY instead. (#​8038)

Fixed

  • Return spec-compliant TraceIdRatioBased description. This is a breaking behavioral change, but it is necessary to
    make the implementation spec-compliant. (#​8027)
  • Fix a race condition in go.opentelemetry.io/otel/sdk/metric where the lastvalue aggregation could collect the value 0 even when no zero-value measurements were recorded. (#​8056)
  • Limit HTTP response body to 4 MiB in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp to mitigate excessive memory usage caused by a misconfigured or malicious server.
    Responses exceeding the limit are treated as non-retryable errors. (#​8108)
  • Limit HTTP response body to 4 MiB in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp to mitigate excessive memory usage caused by a misconfigured or malicious server.
    Responses exceeding the limit are treated as non-retryable errors. (#​8108)
  • Limit HTTP response body to 4 MiB in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp to mitigate excessive memory usage caused by a misconfigured or malicious server.
    Responses exceeding the limit are treated as non-retryable errors. (#​8108)
  • WithHostID detector in go.opentelemetry.io/otel/sdk/resource to use full path for kenv command on BSD. (#​8113)
  • Fix missing request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp to correctly handle HTTP2 GOAWAY frame. (#​8096)

What's Changed

New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.42.0...v1.43.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on friday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

Signed-off-by: Mend Renovate <bot@renovateapp.com>
@renovate-bot renovate-bot requested a review from a team as a code owner April 9, 2026 20:50
@forking-renovate
Copy link
Copy Markdown

ℹ️ 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):

  • 4 additional dependencies were updated

Details:

Package Change
google.golang.org/grpc v1.79.3 -> v1.80.0
go.yaml.in/yaml/v2 v2.4.3 -> v2.4.4
google.golang.org/genproto/googleapis/api v0.0.0-20260226221140-a57be14db171 -> v0.0.0-20260401024825-9d38bb4040a9
google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171 -> v0.0.0-20260406210006-6f92a3bedf2d

Copilot AI review requested due to automatic review settings April 9, 2026 20:50
@dosubot dosubot Bot added the area/otel label Apr 9, 2026
Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro added the changelog:dependencies Update to dependencies label Apr 9, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.64%. Comparing base (22442ce) to head (9dd3e3e).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8333   +/-   ##
=======================================
  Coverage   95.64%   95.64%           
=======================================
  Files         314      314           
  Lines       16507    16507           
=======================================
  Hits        15788    15788           
  Misses        567      567           
  Partials      152      152           
Flag Coverage Δ
badger_direct 9.30% <ø> (ø)
badger_e2e 1.07% <ø> (ø)
cassandra-4.x-direct-manual 13.63% <ø> (ø)
cassandra-4.x-e2e-auto 1.06% <ø> (ø)
cassandra-4.x-e2e-manual 1.06% <ø> (ø)
cassandra-5.x-direct-manual 13.63% <ø> (ø)
cassandra-5.x-e2e-auto 1.06% <ø> (ø)
cassandra-5.x-e2e-manual 1.06% <ø> (ø)
clickhouse 1.20% <ø> (ø)
elasticsearch-6.x-direct 17.49% <ø> (ø)
elasticsearch-7.x-direct 17.52% <ø> (ø)
elasticsearch-8.x-direct 17.68% <ø> (ø)
elasticsearch-8.x-e2e 1.07% <ø> (ø)
elasticsearch-9.x-e2e 1.07% <ø> (ø)
grpc_direct 8.09% <ø> (ø)
grpc_e2e 1.07% <ø> (ø)
kafka-3.x-v2 1.07% <ø> (ø)
memory_v2 1.07% <ø> (ø)
opensearch-1.x-direct 17.57% <ø> (ø)
opensearch-2.x-direct 17.57% <ø> (ø)
opensearch-2.x-e2e 1.07% <ø> (ø)
opensearch-3.x-e2e 1.07% <ø> (ø)
query 1.07% <ø> (ø)
tailsampling-processor 0.54% <ø> (ø)
unittests 94.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

CI Summary Report

Metrics Comparison

❌ 40 metric change(s) detected

View changed metrics

For label-level diff details, open the CI run and expand the "Compare metrics and generate summary" step logs.

metrics_snapshot_badger_e2e⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_cassandras_4.x_v004_e2e_auto⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_cassandras_4.x_v004_e2e_manual⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_cassandras_5.x_v004_e2e_auto⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_cassandras_5.x_v004_e2e_manual⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_clickhouse⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_elasticsearch_8.x_e2e⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_elasticsearch_9.x_e2e⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_grpc_e2e⬇️ download diff
4 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes
  • rpc_client_call_duration_seconds

metrics_snapshot_kafka_v2⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_memory⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_opensearch_2.x⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

metrics_snapshot_opensearch_3.x⬇️ download diff
3 modified

  • http_server_request_body_size_bytes
  • http_server_request_duration_seconds
  • http_server_response_body_size_bytes

Code Coverage

✅ Coverage 96.8% (baseline 96.8%)

➡️ View CI run | View publish logs
2026-04-10 18:40:10 UTC

@yurishkuro
Copy link
Copy Markdown
Member

It appears the metrics lost http_route attribute.

-http_server_request_body_size_bytes{http_request_method="GET",http_response_status_code="200",http_route="/status",le="+Inf",network_protocol_name="http",network_protocol_version="1.1",otel_scope_name="go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp",server_address="localhost",server_port="13133",url_scheme="http"}
+http_server_request_body_size_bytes{http_request_method="GET",http_response_status_code="200",le="+Inf",network_protocol_name="http",network_protocol_version="1.1",otel_scope_name="go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp",server_address="localhost",server_port="13133",url_scheme="http"}

@github-actions github-actions Bot added the waiting-for-author PR is waiting for author to respond to maintainer's comments label Apr 9, 2026
@yurishkuro
Copy link
Copy Markdown
Member

it turns out our diff is showing the diffs in the opposite direction, so the actual change here is that the http_route label is now added automatically because of //github.com/open-telemetry/opentelemetry-go-contrib/pull/8632. I booked issue #8340 for bad metrics diff.

@yurishkuro yurishkuro merged commit 7cccec2 into jaegertracing:main Apr 10, 2026
67 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/otel changelog:dependencies Update to dependencies waiting-for-author PR is waiting for author to respond to maintainer's comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants