-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(all): update opentelemetry-go-contrib monorepo #5236
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-contrib monorepo #5236
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-contrib
monorepo, specifically updating several modules. The modules updated include go.opentelemetry.io/contrib/detectors/gcp
from v1.34.0
to v1.35.0
, go.opentelemetry.io/contrib/exporters/autoexport
from v0.53.0
to v0.60.0
, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
from v0.59.0
to v0.60.0
, and go.opentelemetry.io/contrib/propagators/autoprop
from v0.53.0
to v0.60.0
. The updates are reflected in the go.mod
files of the affected modules.
Highlights
- Dependency Updates: The primary focus of this PR is to update the
opentelemetry-go-contrib
monorepo dependencies to their latest versions. - Module Specific Updates: Several
go.mod
files are updated to reflect the new versions of theopentelemetry
related modules.
Changelog
- opentelemetry/instrumentation/app/go.mod
- Updated
go.opentelemetry.io/contrib/exporters/autoexport
fromv0.53.0
tov0.60.0
. - Updated
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
fromv0.59.0
tov0.60.0
. - Updated
go.opentelemetry.io/contrib/propagators/autoprop
fromv0.53.0
tov0.60.0
.
- Updated
- opentelemetry/trace/go.mod
- Updated
go.opentelemetry.io/contrib/detectors/gcp
fromv1.34.0
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 use case for OpenTelemetry?
Click here for the answer
OpenTelemetry is primarily used for generating and collecting telemetry data (metrics, logs, and traces) from software systems to help understand their performance and 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 several OpenTelemetry Go contrib modules. The updates seem straightforward, but I've reviewed the changes to ensure they don't introduce any regressions or compatibility issues.
Merge Readiness
The pull request updates dependencies, and I did not find any critical or high severity issues. I am unable to directly approve the pull request, and users should have others review and approve this code before merging. The pull request appears ready for merging.
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.35.0
v0.53.0
->v0.60.0
v0.59.0
->v0.60.0
v0.53.0
->v0.60.0
Release Notes
open-telemetry/opentelemetry-go-contrib (go.opentelemetry.io/contrib/detectors/gcp)
v1.35.0
: /v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0Compare Source
Overview
This release is the last to support Go 1.22.
The next release will require at least Go 1.23.
Added
ClientCertificate
andClientKey
field for OTLP exporters ingo.opentelemetry.io/contrib/config
. (#6378)WithAttributeBuilder
,AttributeBuilder
,DefaultAttributeBuilder
,DynamoDBAttributeBuilder
,SNSAttributeBuilder
to support adding attributes based on SDK input and output ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
. (#6543)OTEL_SEMCONV_STABILITY_OPT_IN=http/dup
environment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)WithMeterProvider
option to allow passing a custom meter provider togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
. (#6648)WithMetricAttributesFn
option to allow setting dynamic, per-request metric attributes ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
. (#6648)go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
. (#6648)Insecure
field for OTLP exporters ingo.opentelemetry.io/contrib/config
. (#6658)OTEL_SEMCONV_STABILITY_OPT_IN=http/dup
environment variable ininstrumentation/net/http/httptrace/otelhttptrace
to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)OTEL_SEMCONV_STABILITY_OPT_IN=http/dup
environment variable ininstrumentation/github.com/emicklei/go-restful/otelrestful
to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
. (#6747)OTEL_SEMCONV_STABILITY_OPT_IN=http/dup
environment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)OTEL_SEMCONV_STABILITY_OPT_IN
to emit telemetry following bothgo.opentelemetry.io/otel/semconv/v1.21.0
(default) andgo.opentelemetry.io/otel/semconv/v1.26.0
(opt-in) ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo
per the Database semantic convention stability migration guide. (#6172)HeadersList
field for OTLP exporters ingo.opentelemetry.io/contrib/config
. (#6657)go.opentelemetry.io/contrib/otelconf
module which is a replacement forgo.opentelemetry.io/contrib/config
. (#6796)WithFallbackLogExporter
to allow setting a fallback log exporter whenOTEL_LOGS_EXPORTER
is unset ingo.opentelemetry.io/contrib/exporters/autoexport
. (#6844)Changed
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
. (#6543)code.function
attribute emitted bygo.opentelemetry.io/contrib/bridges/otelslog
now stores the package path-qualified function name instead of just the function name.The
code.namespace
attribute is no longer added. (#6870)code.function
attribute emitted bygo.opentelemetry.io/contrib/bridges/otelzap
now stores the package path-qualified function name instead of just the function name.The
code.namespace
attribute is no longer added. (#6870)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Deprecated
WithAttributeSetter
,AttributeSetter
,DefaultAttributeSetter
,DynamoDBAttributeSetter
,SNSAttributeSetter
in favor ofWithAttributeBuilder
,AttributeBuilder
,DefaultAttributeBuilder
,DynamoDBAttributeBuilder
,SNSAttributeBuilder
ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
. (#6543)go.opentelemetry.io/contrib/config
module in favor ofgo.opentelemetry.io/contrib/otelconf
. This is the last release of this module. (#6796)Fixed
context.Background()
as default context instead of nil ingo.opentelemetry.io/contrib/bridges/otellogr
. (#6527)go.opentelemetry.io/contrib/bridges/prometheus
. (#6685)go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#6695)NewSDK
ofgo.opentelemetry.io/contrib/config/v0.3.0
. (#6752)go.opentelemetry.io/contrib/config
. (#6815)What's Changed
04cd7ba
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6642138b5a5
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/666465684f5
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/667929210b9
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/66883edf0e9
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6691e0ece0d
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6693semconv
forotelmux
and implement the package intracing
by @martinyonatann in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/66527023788
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/67133af0d96
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6717c67c2d1
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6723557cf9c
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6730f9890c6
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6735e9438ea
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6740939b2ce
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/67507530529
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/67665a70512
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6770semconv
package by @flc1125 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/67786f9b61d
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6782eff6e97
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6791aa4b98e
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/680456aae31
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6806165e2f8
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6819a661cff
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6831Configuration
📅 Schedule: Branch creation - "* 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.