Skip to content

Update opentelemetry-go monorepo#13289

Merged
mx-psi merged 2 commits intomainfrom
renovate/opentelemetry-go-monorepo
Jun 30, 2025
Merged

Update opentelemetry-go monorepo#13289
mx-psi merged 2 commits intomainfrom
renovate/opentelemetry-go-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 28, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/otel v1.36.0 -> v1.37.0 age adoption passing confidence
go.opentelemetry.io/otel/log v0.12.2 -> v0.13.0 age adoption passing confidence
go.opentelemetry.io/otel/log/logtest v0.0.0-20250526142609-aa5bd0e64989 -> v0.13.0 age adoption passing confidence
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk/metric v1.36.0 -> v1.37.0 age adoption passing confidence
go.opentelemetry.io/otel/trace v1.36.0 -> v1.37.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v1.37.0: /v0.59.0/v0.13.0

Compare Source

Added
  • The go.opentelemetry.io/otel/semconv/v1.33.0 package.
    The package contains semantic conventions from the v1.33.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.32.0.(#​6799)
  • The go.opentelemetry.io/otel/semconv/v1.34.0 package.
    The package contains semantic conventions from the v1.34.0 version of the OpenTelemetry Semantic Conventions. (#​6812)
  • Add metric's schema URL as otel_scope_schema_url label in go.opentelemetry.io/otel/exporters/prometheus. (#​5947)
  • Add metric's scope attributes as otel_scope_[attribute] labels in go.opentelemetry.io/otel/exporters/prometheus. (#​5947)
  • Add EventName to EnabledParameters in go.opentelemetry.io/otel/log. (#​6825)
  • Add EventName to EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#​6825)
  • Changed handling of go.opentelemetry.io/otel/exporters/prometheus metric renaming to add unit suffixes when it doesn't match one of the pre-defined values in the unit suffix map. (#​6839)
Changed
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/bridge/opentracing. (#​6827)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/exporters/zipkin. (#​6829)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/metric. (#​6832)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/sdk/resource. (#​6834)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/sdk/trace. (#​6835)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/trace. (#​6836)
  • Record.Resource now returns *resource.Resource instead of resource.Resource in go.opentelemetry.io/otel/sdk/log. (#​6864)
  • Retry now shows error cause for context timeout in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​6898)
Fixed
  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​6710)
  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​6710)
  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#​6710)
  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​6710)
  • Validate exponential histogram scale range for Prometheus compatibility in go.opentelemetry.io/otel/exporters/prometheus. (#​6822)
  • Context cancellation during metric pipeline produce does not corrupt data in go.opentelemetry.io/otel/sdk/metric. (#​6914)
Removed
  • go.opentelemetry.io/otel/exporters/prometheus no longer exports otel_scope_info metric. (#​6770)

What's Changed

New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.36.0...v1.37.0


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), 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.

@renovate renovate Bot added dependencies Pull requests that update a dependency file renovatebot labels Jun 28, 2025
@renovate renovate Bot requested review from a team, bogdandrutu, dmathieu, dmitryax and mx-psi as code owners June 28, 2025 14:33
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jun 28, 2025

ℹ Artifact update notice

File name: cmd/mdatagen/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):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
File name: component/componenttest/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):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel v1.36.0 -> v1.37.0
File name: config/configgrpc/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):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/trace v1.36.0 -> v1.37.0
File name: config/confighttp/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):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/trace v1.36.0 -> v1.37.0
File name: config/confighttp/xconfighttp/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
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk/metric v1.36.0 -> v1.37.0
File name: exporter/exporterhelper/xexporterhelper/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):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk/metric v1.36.0 -> v1.37.0
File name: exporter/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):

  • 1 additional dependency was updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
File name: extension/zpagesextension/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
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk/metric v1.36.0 -> v1.37.0
File name: internal/telemetry/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):

  • 1 additional dependency was updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
File name: pdata/xpdata/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):

  • 1 additional dependency was updated

Details:

Package Change
go.opentelemetry.io/otel v1.36.0 -> v1.37.0
File name: processor/batchprocessor/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):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/log v0.12.2 -> v0.13.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
File name: processor/memorylimiterprocessor/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):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/log v0.12.2 -> v0.13.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
File name: processor/processorhelper/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):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/log v0.12.2 -> v0.13.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
File name: receiver/otlpreceiver/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):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/log v0.12.2 -> v0.13.0
go.opentelemetry.io/otel/metric v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
go.opentelemetry.io/otel/trace v1.36.0 -> v1.37.0
File name: receiver/receiverhelper/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):

  • 3 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/log v0.12.2 -> v0.13.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.37.0
File name: scraper/scraperhelper/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):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3
go.opentelemetry.io/otel/log v0.12.2 -> v0.13.0
File name: service/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):

  • 1 additional dependency was updated

Details:

Package Change
github.com/go-logr/logr v1.4.2 -> v1.4.3

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.59%. Comparing base (8c7e0b7) to head (a54a5a9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13289      +/-   ##
==========================================
- Coverage   91.62%   91.59%   -0.04%     
==========================================
  Files         522      522              
  Lines       29111    29111              
==========================================
- Hits        26674    26664      -10     
- Misses       1922     1929       +7     
- Partials      515      518       +3     

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

@renovate renovate Bot force-pushed the renovate/opentelemetry-go-monorepo branch from e0557aa to 3dd8da7 Compare June 30, 2025 12:56
@mx-psi mx-psi closed this Jun 30, 2025
@mx-psi mx-psi reopened this Jun 30, 2025
@mx-psi mx-psi added this pull request to the merge queue Jun 30, 2025
Merged via the queue into main with commit f232038 Jun 30, 2025
58 checks passed
@mx-psi mx-psi deleted the renovate/opentelemetry-go-monorepo branch June 30, 2025 14:40
@mx-psi mx-psi mentioned this pull request Jul 18, 2025
bogdandrutu pushed a commit that referenced this pull request Jul 18, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Downgrades opentelemetry-go dependencies effectively reverting #13289
and others

### ❗ Known Issues ❗

- Due to a
[bug](open-telemetry/opentelemetry-go#7039) in
the prometheus exporter, if you are configuring a prometheus exporter,
the collector's internal metrics will be emitted with an unexpected
suffix in its name. For example, the metric
`otelcol_exporter_sent_spans__spans__total` instead of
`otelcol_exporter_sent_spans_total`. The workaround is to manually
configure `without_units: true` in your prometheus exporter config

  ```yaml
  service:
    telemetry:
      metrics:
        readers:
          - pull:
              exporter:
                prometheus:
                  host: 0.0.0.0
                  port: 8888
                  without_units: true
  ```
If you are using the collector's default Prometheus exporter for
exporting internal metrics you are unaffected.

---------

Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: alex boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
songy23 added a commit to songy23/opentelemetry-service that referenced this pull request Jul 23, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

Downgrades opentelemetry-go dependencies effectively reverting open-telemetry#13289
and others

- Due to a
[bug](open-telemetry/opentelemetry-go#7039) in
the prometheus exporter, if you are configuring a prometheus exporter,
the collector's internal metrics will be emitted with an unexpected
suffix in its name. For example, the metric
`otelcol_exporter_sent_spans__spans__total` instead of
`otelcol_exporter_sent_spans_total`. The workaround is to manually
configure `without_units: true` in your prometheus exporter config

  ```yaml
  service:
    telemetry:
      metrics:
        readers:
          - pull:
              exporter:
                prometheus:
                  host: 0.0.0.0
                  port: 8888
                  without_units: true
  ```
If you are using the collector's default Prometheus exporter for
exporting internal metrics you are unaffected.

---------

Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: alex boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
github-merge-queue Bot pushed a commit that referenced this pull request Jul 23, 2025
cherry-pick of
d82267d

`go.opentelemetry.io/otel/exporters/prometheus v0.59.1` does not fully
fix the metric name issue so we have to revert to v0.58.0

Downgrades opentelemetry-go dependencies effectively reverting #13289
and others

- Due to a
[bug](open-telemetry/opentelemetry-go#7039) in
the prometheus exporter, if you are configuring a prometheus exporter,
the collector's internal metrics will be emitted with an unexpected
suffix in its name. For example, the metric
`otelcol_exporter_sent_spans__spans__total` instead of
`otelcol_exporter_sent_spans_total`. The workaround is to manually
configure `without_units: true` in your prometheus exporter config

 ```yaml
  service:
    telemetry:
      metrics:
        readers:
          - pull: 
              exporter: 
                prometheus: 
                  host: 0.0.0.0 
                  port: 8888 
                  without_units: true 
 ``` 
     
If you are using the collector's default Prometheus exporter for
exporting internal metrics you are unaffected.

Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
Co-authored-by: alex boten <223565+codeboten@users.noreply.github.com>
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 renovatebot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants