-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(all): update opentelemetry-go monorepo to v1.37.0 #5225
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
base: main
Are you sure you want to change the base?
chore(all): update opentelemetry-go monorepo to v1.37.0 #5225
Conversation
|
There was a problem hiding this 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
andKeyValueFromAttribute
ingo.opentelemetry.io/otel/log
, and fixes for goroutine leaks ingo.opentelemetry.io/otel/sdk/trace
.
Changelog
Click here to see the changelog
- opentelemetry/instrumentation/app/go.mod
- Updated
go.opentelemetry.io/otel
tov1.35.0
- Updated
go.opentelemetry.io/otel/metric
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk/metric
tov1.35.0
- Updated
go.opentelemetry.io/otel/trace
tov1.35.0
- Updated
- opentelemetry/trace/go.mod
- Updated
go.opentelemetry.io/otel
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk
tov1.35.0
- Updated
- pubsub/go.mod
- Updated
go.opentelemetry.io/otel
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk
tov1.35.0
- Updated
- run/custom-metrics/go.mod
- Updated
go.opentelemetry.io/otel
tov1.35.0
- Updated
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
tov1.35.0
- Updated
go.opentelemetry.io/otel/metric
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk/metric
tov1.35.0
- Updated
- spanner/opentelemetry/go.mod
- Updated
go.opentelemetry.io/otel
tov1.35.0
- Updated
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
tov1.35.0
- Updated
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
tov1.35.0
- Updated
go.opentelemetry.io/otel/metric
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk/metric
tov1.35.0
- Updated
- spanner/opentelemetry/tracing/go.mod
- Updated
go.opentelemetry.io/otel
tov1.35.0
- Updated
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
tov1.35.0
- Updated
go.opentelemetry.io/otel/sdk
tov1.35.0
- Updated
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
-
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. ↩
There was a problem hiding this 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.
98b1b8c
to
a39b468
Compare
a39b468
to
621d9f7
Compare
621d9f7
to
50c1f9f
Compare
Edited/Blocked NotificationRenovate 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. |
This PR contains the following updates:
v1.34.0
->v1.37.0
v1.35.0
->v1.37.0
v1.28.0
->v1.37.0
v1.28.0
->v1.37.0
v1.34.0
->v1.37.0
v1.34.0
->v1.37.0
v1.35.0
->v1.37.0
v1.34.0
->v1.37.0
v1.34.0
->v1.37.0
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
v1.37.0
: /v0.59.0/v0.13.0Compare Source
Added
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)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)otel_scope_schema_url
label ingo.opentelemetry.io/otel/exporters/prometheus
. (#5947)otel_scope_[attribute]
labels ingo.opentelemetry.io/otel/exporters/prometheus
. (#5947)EventName
toEnabledParameters
ingo.opentelemetry.io/otel/log
. (#6825)EventName
toEnabledParameters
ingo.opentelemetry.io/otel/sdk/log
. (#6825)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
v1.26.0
tov1.34.0
ingo.opentelemetry.io/otel/bridge/opentracing
. (#6827)v1.26.0
tov1.34.0
ingo.opentelemetry.io/otel/exporters/zipkin
. (#6829)v1.26.0
tov1.34.0
ingo.opentelemetry.io/otel/metric
. (#6832)v1.26.0
tov1.34.0
ingo.opentelemetry.io/otel/sdk/resource
. (#6834)v1.26.0
tov1.34.0
ingo.opentelemetry.io/otel/sdk/trace
. (#6835)v1.26.0
tov1.34.0
ingo.opentelemetry.io/otel/trace
. (#6836)Record.Resource
now returns*resource.Resource
instead ofresource.Resource
ingo.opentelemetry.io/otel/sdk/log
. (#6864)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
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
. (#6710)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#6710)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
. (#6710)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#6710)go.opentelemetry.io/otel/exporters/prometheus
. (#6822)go.opentelemetry.io/otel/sdk/metric
. (#6914)Removed
go.opentelemetry.io/otel/exporters/prometheus
no longer exportsotel_scope_info
metric. (#6770)What's Changed
45338d2
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6807f0acec6
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6810semconv/v1.33.0
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/6799200df99
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6843b2b9eea
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/684425d2f78
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/685165e9200
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6859b6e5de4
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6860exporter/prometheus
to match otel-contrib by @alexandreLamarre in https://github.com/open-telemetry/opentelemetry-go/pull/6839513f239
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/68679a9ac21
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/686560998fe
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/68804884ade
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6886473d423
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6889faae1a8
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/68919627e99
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6896ec7d08e
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6894e50bbf1
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/69008f04292
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6910b7579e2
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/691790b6ad3
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6918513f239
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6922fef9409
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6929New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.36.0...v1.37.0
v1.36.0
: /v0.58.0/v0.12.0Compare Source
Added
go.opentelemetry.io/otel/exporters/prometheus
. (#6421)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)Recording
,Scope
, andRecord
types ingo.opentelemetry.io/otel/log/logtest
. (#6507)WithHTTPClient
option to configure thehttp.Client
used bygo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#6751)WithHTTPClient
option to configure thehttp.Client
used bygo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#6752)WithHTTPClient
option to configure thehttp.Client
used bygo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#6688)ValuesGetter
ingo.opentelemetry.io/otel/propagation
, aTextMapCarrier
that supports retrieving multiple values for a single key. (#5973)Values
method toHeaderCarrier
to implement the newValuesGetter
interface ingo.opentelemetry.io/otel/propagation
. (#5973)Baggage
ingo.opentelemetry.io/otel/propagation
to retrieve multiple values for a key when the carrier implementsValuesGetter
. (#5973)AssertEqual
function ingo.opentelemetry.io/otel/log/logtest
. (#6662)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)Transform
option ingo.opentelemetry.io/otel/log/logtest
. (#6794)Desc
option ingo.opentelemetry.io/otel/log/logtest
. (#6796)Removed
Resource
field fromEnabledParameters
ingo.opentelemetry.io/otel/sdk/log
. (#6494)RecordFactory
type fromgo.opentelemetry.io/otel/log/logtest
. (#6492)ScopeRecords
,EmittedRecord
, andRecordFactory
types fromgo.opentelemetry.io/otel/log/logtest
. (#6507)AssertRecordEqual
function ingo.opentelemetry.io/otel/log/logtest
, useAssertEqual
instead. (#6662)Changed
github.com/prometheus/client_golang
tov1.21.1
, which changes theNameValidationScheme
toUTF8Validation
.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
toLegacyValidation
ingithub.com/prometheus/common/model
. (#6433)len(keys)
inNewAllowKeysFilter
andNewDenyKeysFilter
to avoid unnecessary allocations ingo.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
ingo.opentelemetry.io/otel/log/logtest
no longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)BatchProcessor
ingo.opentelemetry.io/otel/sdk/log
by not exporting when exporter cannot accept more. (#6569, #6641)Deprecated
model.LegacyValidation
forgo.opentelemetry.io/otel/exporters/prometheus
. (#6449)Fixes
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#6392)noopSpan.tracerProvider
method is not inlined ingo.opentelemetry.io/otel/trace
so thego.opentelemetry.io/auto
instrumentation can instrument non-recording spans. (#6456)sync.Pool
instead of allocatingmetricdata.ResourceMetrics
ingo.opentelemetry.io/otel/exporters/prometheus
. (#6472)What's Changed
6bb031a
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6424f665c8d
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6425fdfaad8
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/642881fb87f
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6430e70fdf4
by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/6441d10101f
by [@renovate](https://redirect.githConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.