-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(all): update opentelemetry-go monorepo to v1.38.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.38.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
7b90816
to
0272377
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. |
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:
|
This PR contains the following updates:
v1.34.0
->v1.38.0
v1.37.0
->v1.38.0
v1.28.0
->v1.38.0
v1.28.0
->v1.38.0
v1.34.0
->v1.38.0
v1.34.0
->v1.38.0
v1.37.0
->v1.38.0
v1.34.0
->v1.38.0
v1.34.0
->v1.38.0
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.13Compare Source
Overview
This release is the last to support Go 1.23. The next release will require at least Go 1.24.
Added
go.opentelemetry.io/otel/exporters/prometheus
. (#6772)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
ErrorType
attribute helper function to thego.opentelmetry.io/otel/semconv/v1.34.0
package. (#6962)WithAllowKeyDuplication
ingo.opentelemetry.io/otel/sdk/log
which can be used to disable deduplication for log records. (#6968)WithCardinalityLimit
option to configure the cardinality limit ingo.opentelemetry.io/otel/sdk/metric
. (#6996, #7065, #7081, #7164, #7165, #7179)Clone
method toRecord
ingo.opentelemetry.io/otel/log
that returns a copy of the record with no shared state. (#7001)go.opentelemetry.io/otel/sdk/trace
. Check thego.opentelemetry.io/otel/sdk/trace/internal/x
package documentation for more information. (#7027, #6393, #7209)go.opentelemetry.io/otel/semconv/v1.36.0
package. The package contains semantic conventions from thev1.36.0
version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.34.0.
(#7032, #7041)WithTranslationStrategy
option ingo.opentelemetry.io/otel/exporters/prometheus
. The current default translation strategy when UTF-8 mode is enabled isNoUTF8EscapingWithSuffixes
, but a future release will change the default strategy toUnderscoreEscapingWithSuffixes
for compliance with the specification. (#7111)go.opentelemetry.io/otel/sdk/log
. Check thego.opentelemetry.io/otel/sdk/log/internal/x
package documentation for more information. (#7121)go.opentelemetry.io/otel/exporters/stdout/stdouttrace
. Check thego.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal/x
package documentation for more information. (#7133)go.opentelemetry.io/otel/semconv/v1.37.0
package. The package contains semantic conventions from thev1.37.0
version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.36.0.
(#7254)Changed
TraceIDFromHex
andSpanIDFromHex
ingo.opentelemetry.io/otel/sdk/trace
. (#6791)AssertEqual
ingo.opentelemetry.io/otel/log/logtest
to acceptTestingT
in order to support benchmarks and fuzz tests. (#6908)DefaultExemplarReservoirProviderSelector
ingo.opentelemetry.io/otel/sdk/metric
to useruntime.GOMAXPROCS(0)
instead ofruntime.NumCPU()
for theFixedSizeReservoirProvider
default size. (#7094)Fixed
SetBody
method ofRecord
ingo.opentelemetry.io/otel/sdk/log
now deduplicates key-value collections (log.Value
oflog.KindMap
fromgo.opentelemetry.io/otel/log
). (#7002)go.opentelemetry.io/otel/exporters/prometheus
to not append a suffix if it's already present in metric name. (#7088)go.opentelemetry.io/otel/exporters/stdout/stdouttrace
self-observability component type and name. (#7195)go.opentelemetry.io/otel/exporters/stdout/stdouttrace
. (#7199)Deprecated
WithoutUnits
andWithoutCounterSuffixes
options, preferringWithTranslationStrategy
instead. (#7111)OTEL_GO_X_CARDINALITY_LIMIT
environment variable ingo.opentelemetry.io/otel/sdk/metric
. UseWithCardinalityLimit
option instead. (#7166)What's Changed
96f361d
by @renovate[bot] in #7054a45f3df
by @renovate[bot] in #705889aa817
by @renovate[bot] in #706117c88fd
by @renovate[bot] in #7062ba65ee6
by @renovate[bot] in #7068fce6240
by @renovate[bot] in #7075846d391
by @renovate[bot] in #7078ab8d56d
by @renovate[bot] in #70881581f0a
by @renovate[bot] in #7096f173205
by @renovate[bot] in #709728f32e4
by @renovate[bot] in #7099a7a43d2
by @renovate[bot] in #71269469f96
by @renovate[bot] in #713401f7bf4
by @renovate[bot] in #7146e98b521
by @renovate[bot] in #7151a408d31
by @renovate[bot] in #71586b04f9b
by @renovate[bot] in #716951f8813
by @renovate[bot] in #7173sdk/metric/x
Feature Supporting Cardinality Limits by @ysolomchenko in #71665f3141c
by @renovate[bot] in #7176ExportSpans
for measurements instdouttrace
by @MrAlias in #7198stdouttrace
Exporter.initSelfObservability
intoExporter.New
by @MrAlias in #7197tracer.initSelfObservability
intoTracerProvider.Tracer
by @MrAlias in #7205sdk/trace/internal/x
README.md by @MrAlias in #7211Distinct
docs by @MrAlias in #7203t.Cleanup
instead ofdefer
instdouttrace
by @MrAlias in #7204t.Cleanup
instead ofdefer
insdk/trace
by @MrAlias in #7208stdouttrace
observability by @MrAlias in #7199stdouttrace
self-observability by @MrAlias in #72013122310
by @renovate[bot] in #7216d4663ad
by @renovate[bot] in #7238logger.initSelfObservability
intologger.newLoggerr
and uset.Cleanup
instead of defer by @yumosx in #7228Float64ObservableCounter
withsystem.CPUTime
by @MrAlias in #7235c5933d9
by @renovate[bot] in #7246c5933d9
by @renovate[bot] in #7250sdk/trace
by @MrAlias in #7209AddSet
andRecordSet
methods to semconv generated packages by @MrAlias in #7223semconv/v1.37.0
packages by @MrAlias in #7254New 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.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 #6807f0acec6
by @renovate in #6810semconv/v1.33.0
by @MrAlias in #6799Configuration
📅 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.