Skip to content

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 17, 2025

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/otel v1.34.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel v1.37.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.28.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel/metric v1.34.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel/sdk v1.34.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel/sdk v1.37.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel/sdk/metric v1.34.0 -> v1.38.0 age confidence
go.opentelemetry.io/otel/trace v1.34.0 -> v1.38.0 age 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.38.0: /v0.60.0/v0.14.0/v0.0.13

Compare Source

Overview

This release is the last to support Go 1.23. The next release will require at least Go 1.24.

Added
  • Add native histogram exemplar support in go.opentelemetry.io/otel/exporters/prometheus. (#​6772)
  • Add template attribute functions to the go.opentelmetry.io/otel/semconv/v1.34.0 package. (#​6939)
    • ContainerLabel
    • DBOperationParameter
    • DBSystemParameter
    • HTTPRequestHeader
    • HTTPResponseHeader
    • K8SCronJobAnnotation
    • K8SCronJobLabel
    • K8SDaemonSetAnnotation
    • K8SDaemonSetLabel
    • K8SDeploymentAnnotation
    • K8SDeploymentLabel
    • K8SJobAnnotation
    • K8SJobLabel
    • K8SNamespaceAnnotation
    • K8SNamespaceLabel
    • K8SNodeAnnotation
    • K8SNodeLabel
    • K8SPodAnnotation
    • K8SPodLabel
    • K8SReplicaSetAnnotation
    • K8SReplicaSetLabel
    • K8SStatefulSetAnnotation
    • K8SStatefulSetLabel
    • ProcessEnvironmentVariable
    • RPCConnectRPCRequestMetadata
    • RPCConnectRPCResponseMetadata
    • RPCGRPCRequestMetadata
    • RPCGRPCResponseMetadata
  • Add ErrorType attribute helper function to the go.opentelmetry.io/otel/semconv/v1.34.0 package. (#​6962)
  • Add WithAllowKeyDuplication in go.opentelemetry.io/otel/sdk/log which can be used to disable deduplication for log records. (#​6968)
  • Add WithCardinalityLimit option to configure the cardinality limit in go.opentelemetry.io/otel/sdk/metric. (#​6996, #​7065, #​7081, #​7164, #​7165, #​7179)
  • Add Clone method to Record in go.opentelemetry.io/otel/log that returns a copy of the record with no shared state. (#​7001)
  • Add experimental self-observability span and batch span processor metrics in go.opentelemetry.io/otel/sdk/trace. Check the go.opentelemetry.io/otel/sdk/trace/internal/x package documentation for more information. (#​7027, #​6393, #​7209)
  • The go.opentelemetry.io/otel/semconv/v1.36.0 package. The package contains semantic conventions from the v1.36.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.34.0.(#​7032, #​7041)
  • Add support for configuring Prometheus name translation using WithTranslationStrategy option in go.opentelemetry.io/otel/exporters/prometheus. The current default translation strategy when UTF-8 mode is enabled is NoUTF8EscapingWithSuffixes, but a future release will change the default strategy to UnderscoreEscapingWithSuffixes for compliance with the specification. (#​7111)
  • Add experimental self-observability log metrics in go.opentelemetry.io/otel/sdk/log. Check the go.opentelemetry.io/otel/sdk/log/internal/x package documentation for more information. (#​7121)
  • Add experimental self-observability trace exporter metrics in go.opentelemetry.io/otel/exporters/stdout/stdouttrace. Check the go.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal/x package documentation for more information. (#​7133)
  • Support testing of [Go 1.25]. (#​7187)
  • The go.opentelemetry.io/otel/semconv/v1.37.0 package. The package contains semantic conventions from the v1.37.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.36.0.(#​7254)
Changed
  • Optimize TraceIDFromHex and SpanIDFromHex in go.opentelemetry.io/otel/sdk/trace. (#​6791)
  • Change AssertEqual in go.opentelemetry.io/otel/log/logtest to accept TestingT in order to support benchmarks and fuzz tests. (#​6908)
  • Change DefaultExemplarReservoirProviderSelector in go.opentelemetry.io/otel/sdk/metric to use runtime.GOMAXPROCS(0) instead of runtime.NumCPU() for the FixedSizeReservoirProvider default size. (#​7094)
Fixed
  • SetBody method of Record in go.opentelemetry.io/otel/sdk/log now deduplicates key-value collections (log.Value of log.KindMap from go.opentelemetry.io/otel/log). (#​7002)
  • Fix go.opentelemetry.io/otel/exporters/prometheus to not append a suffix if it's already present in metric name. (#​7088)
  • Fix the go.opentelemetry.io/otel/exporters/stdout/stdouttrace self-observability component type and name. (#​7195)
  • Fix partial export count metric in go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#​7199)
Deprecated
  • Deprecate WithoutUnits and WithoutCounterSuffixes options, preferring WithTranslationStrategy instead. (#​7111)
  • Deprecate support for OTEL_GO_X_CARDINALITY_LIMIT environment variable in go.opentelemetry.io/otel/sdk/metric. Use WithCardinalityLimit option instead. (#​7166)
What's Changed
New Contributors

Full Changelog: open-telemetry/opentelemetry-go@exporters/prometheus/v0.59.1...v1.38.0

v1.37.0: Release 1.37.0/0.59.0/0.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

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (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.

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

Copy link

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: opentelemetry/instrumentation/app/go.sum
Command failed: install-tool golang 1.21.13

File name: opentelemetry/trace/go.sum
Command failed: install-tool golang 1.21.13

File name: pubsub/go.sum
Command failed: install-tool golang 1.21.13

File name: run/custom-metrics/go.sum
Command failed: install-tool golang 1.21.13

File name: spanner/opentelemetry/go.sum
Command failed: install-tool golang 1.21.13

File name: spanner/opentelemetry/tracing/go.sum
Command failed: install-tool golang 1.21.13

@renovate-bot renovate-bot requested review from a team as code owners March 17, 2025 01:35
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Mar 17, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the opentelemetry-go monorepo to version v1.35.0. It updates several modules including go.opentelemetry.io/otel, go.opentelemetry.io/otel/metric, go.opentelemetry.io/otel/sdk, go.opentelemetry.io/otel/sdk/metric, go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. This change impacts multiple go.mod files across different directories, ensuring consistent versions of the OpenTelemetry libraries are used throughout the project.

Highlights

  • Dependency Update: The core change involves updating the opentelemetry-go monorepo dependencies to the latest version, v1.35.0.
  • Module Consistency: The pull request ensures that all relevant modules within the project use the same, updated version of the OpenTelemetry libraries.
  • Feature Additions and Fixes: The updated OpenTelemetry version includes new features like ValueFromAttribute and KeyValueFromAttribute in go.opentelemetry.io/otel/log, and fixes for goroutine leaks in go.opentelemetry.io/otel/sdk/trace.

Changelog

Click here to see the changelog
  • opentelemetry/instrumentation/app/go.mod
    • Updated go.opentelemetry.io/otel to v1.35.0
    • Updated go.opentelemetry.io/otel/metric to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk/metric to v1.35.0
    • Updated go.opentelemetry.io/otel/trace to v1.35.0
  • opentelemetry/trace/go.mod
    • Updated go.opentelemetry.io/otel to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk to v1.35.0
  • pubsub/go.mod
    • Updated go.opentelemetry.io/otel to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk to v1.35.0
  • run/custom-metrics/go.mod
    • Updated go.opentelemetry.io/otel to v1.35.0
    • Updated go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc to v1.35.0
    • Updated go.opentelemetry.io/otel/metric to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk/metric to v1.35.0
  • spanner/opentelemetry/go.mod
    • Updated go.opentelemetry.io/otel to v1.35.0
    • Updated go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc to v1.35.0
    • Updated go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc to v1.35.0
    • Updated go.opentelemetry.io/otel/metric to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk/metric to v1.35.0
  • spanner/opentelemetry/tracing/go.mod
    • Updated go.opentelemetry.io/otel to v1.35.0
    • Updated go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc to v1.35.0
    • Updated go.opentelemetry.io/otel/sdk to v1.35.0
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


Trivia time!

What is the primary purpose of OpenTelemetry?

Click here for the answer
OpenTelemetry aims to standardize the generation and collection of telemetry data (metrics, logs, and traces) from software, providing a unified way to observe and understand application behavior.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This PR updates the opentelemetry-go monorepo to v1.35.0 across multiple modules. The changes primarily involve updating the go.mod files to reflect the new versions of the opentelemetry dependencies. Overall, the update seems straightforward and necessary to keep the project up-to-date with the latest OpenTelemetry features and fixes.

Merge Readiness

The pull request updates the opentelemetry-go monorepo to v1.35.0. Given the nature of the changes (dependency updates), it's crucial to ensure that all tests pass and that the application functions as expected with the new versions. Since there are no critical or high severity issues, I would recommend that the pull request be merged after verifying that all tests pass. I am unable to directly approve the pull request, and users should have others review and approve this code before merging.

@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-monorepo branch from 98b1b8c to a39b468 Compare May 30, 2025 02:44
@renovate-bot renovate-bot changed the title chore(all): update opentelemetry-go monorepo to v1.35.0 chore(all): update opentelemetry-go monorepo to v1.36.0 May 30, 2025
@telpirion telpirion self-assigned this Jun 17, 2025
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-monorepo branch from a39b468 to 621d9f7 Compare June 25, 2025 16:17
@renovate-bot renovate-bot changed the title chore(all): update opentelemetry-go monorepo to v1.36.0 chore(all): update opentelemetry-go monorepo to v1.37.0 Jun 25, 2025
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-monorepo branch from 621d9f7 to 50c1f9f Compare July 8, 2025 16:54
@telpirion telpirion removed their assignment Jul 10, 2025
@glasnt glasnt assigned glasnt and unassigned glasnt Jul 15, 2025
@renovate-bot renovate-bot force-pushed the renovate/opentelemetry-go-monorepo branch from 7b90816 to 0272377 Compare September 4, 2025 16:08
@renovate-bot renovate-bot changed the title chore(all): update opentelemetry-go monorepo to v1.37.0 chore(all): update opentelemetry-go monorepo to v1.38.0 Sep 4, 2025
@briandorsey briandorsey added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2025
Copy link

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@briandorsey briandorsey added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 15, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 15, 2025
@briandorsey
Copy link
Member

OK, we're at least only getting failures in opentelemetry tests now. Next step is to investigate the tests. Were these failing before this update? New failure? Etc.

Current failure:

    main_test.go:125: Timeout waiting for metrics
--- FAIL: TestWriteTelemetry (6.18s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants