-
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.
16b16c5
to
4059356
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
v0.53.0
->v0.62.0
v0.59.0
->v0.62.0
v0.53.0
->v0.62.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
open-telemetry/opentelemetry-go-contrib (go.opentelemetry.io/contrib/detectors/gcp)
v1.37.0
: Release 1.37.0/0.62.0/0.31.0/0.17.0/0.12.0/0.10.0/0.9.0Compare Source
Added
WithPublicEndpoint
andWithPublicEndpointFn
options togo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#7407)Changed
go.opentelemetry.io/contrib/instrumentation/runtime
now produces the new metrics by default. SetOTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true
environment variable to additionally produce the deprecated metrics. (#7418)v1.30.0
tov1.34.0
ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#7361)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/detectors/aws/ec2
. (#7373, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/detectors/aws/eks
. (#7375, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/detectors/aws/ecs
. (#7374, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/detectors/aws/lambda
. (#7376, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/detectors/azure/azurevm
. (#7377, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/bridges/otelslog
. (#7361, #7484)v1.27.0
tov1.34.0
ingo.opentelemetry.io/contrib/bridges/otellogr
. (#7387, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/bridges/otelzap
. (#7389, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/detectors/gcp
. (#7378, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
. (#7383, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
. (#7383, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
. (#7383, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
. (#7383, #7484)v1.26.0
tov1.34.0
ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#7383, #7484)go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo
tov1.34.0
. (#7393, #7484)go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo
tov1.34.0
. (#7393, #7484)go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
tov1.34.0
. (#7394, #7484)messaging.system=AmazonSQS
attribute has been corrected tomessaging.system=aws.sqs
.net.peer.addr
attribute key has been upgraded toserver.address
.http.status_code
attribute key has been upgraded tohttp.response.status_code
.db.system=dynamodb
attribute has been corrected todb.system.name=aws.dynamodb
.messaging.operation.type=publish
attribute has been corrected tomessaging.operation.type=send
.v1.21.0
tov1.34.0
ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda
. (#7400, #7484)go.opentelemetry.io/contrib/instrumentation/host
have been upgraded tov1.34.0
. (#7390, #7484)process.cpu.time
is updated to comply with semantic conventions.process.cpu.time
now uses thestate
attribute instead ofcpu.mode
.system.cpu.time
metric is renamed tocpu.time
.cpu.time
now uses thestate
attribute instead ofcpu.mode
.system.memory.usage
now uses thestate
attribute instead ofsystem.memory.state
.system.memory.utilization
now uses thestate
attribute instead ofsystem.memory.state
.system.memory.state
attribute (nowstate
) value ofavailable
is nowfree
instead.Deprecated
AttributeCPUTimeUser
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)AttributeCPUTimeSystem
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)AttributeCPUTimeOther
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)AttributeCPUTimeIdle
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)AttributeMemoryAvailable
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)AttributeMemoryUsed
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)AttributeNetworkTransmit
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)AttributeNetworkReceive
ingo.opentelemetry.io/contrib/instrumentation/host
is deprecated.Use
go.opentelemetry.io/otel/semconv
instead. (#7390)Fixed
go.opentelemetry.io/contrib/detectors/aws/eks
. (#7483)context.Context
fields ingo.opentelemetry.io/contrib/bridges/otelzap
. (#7368)ClientTracer
did not have a span ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
. (#7464)go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#7146)Removed
StreamServerInterceptor
function fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
is removed. (#7362)What's Changed
StreamServerInterceptor
function from otelgrpc by @sonalgaud12 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7362b2b9eea
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7391200df99
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7392bridges/otelzap
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7389semconv/v1.34.0/goconv
ininstrumentation/runtime
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7372otelconf
by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/738525d2f78
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7401Propagator.Inject
function inpropagators/aws/xray
by @sonalgaud12 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/739965e9200
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7408b6e5de4
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7410OTEL_SEMCONV_STABILITY_OPT_IN=http/dup
with new/old metrics by @keisku in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7356host
instrumentation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7390513f239
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74239a9ac21
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74214c0f3b2
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74274884ade
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74388b98d1e
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74599627e99
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7461e50bbf1
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74658f04292
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7478b7579e2
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/749490b6ad3
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7496fef9409
by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7503New Contributors
Full Changelog: open-telemetry/opentelemetry-go-contrib@v1.36.0...v1.37.0
v1.36.0
: /v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0Compare Source
Overview
Added
http.route
attribute to otelhttp server request spans, whennet/http.Request.Pattern
is set in the modules below. (#6905, #6937)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/otelhttp
WithAttributes
option to set instrumentation scope attributes on the createdlog.Logger
ingo.opentelemetry.io/contrib/bridges/otelzap
. (#6962)WithAttributes
option to set instrumentation scope attributes on the createdlog.Logger
ingo.opentelemetry.io/contrib/bridges/otelslog
. (#6965)WithAttributes
option to set instrumentation scope attributes on the createdlog.Logger
ingo.opentelemetry.io/contrib/bridges/otellogrus
. (#6966)WithAttributes
option to set instrumentation scope attributes on the createdlog.Logger
ingo.opentelemetry.io/contrib/bridges/otellogr
. (#6967)WithGinMetricAttributes
option to allow setting dynamic, per-request metric attributes based on*gin.Context
ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
. (#6932)ClientIP
method to detect the client's IP, which supports custom proxy headers ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
. (#6095)go.opentelemetry.io/contrib/propagators/jaeger
. (#7119)go.opentelemetry.io/contrib/otelconf
. (#7148)SeverityText
attribute using source value ingo.opentelemetry.io/contrib/bridges/otelslog
. (#7198)http.route
metric attribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
. (#7275)WithSpanStartOptions
option to add custom options to new spansgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
. (#7261)go.mongodb.org/mongo-driver/v2
ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo
. (#6539)req.Pattern
is set, so the span name can include it ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#7192)Changed
Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as
trace.TraceIDRatioBased
ingo.opentelemetry.io/contrib/samplers/jaegerremote
. (#6892)Switched the default for
OTEL_SEMCONV_STABILITY_OPT_IN
to emit the v1.26.0 semantic conventions by default in the following modules.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
The
OTEL_SEMCONV_STABILITY_OPT_IN=http/dup
environment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions.It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (#6899)
Improve performance by reducing allocations for http request when using
OTEL_SEMCONV_STABILITY_OPT_IN=http/dup
in the modules below. (#7180)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
Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in
go.opentelemetry.io/contrib/samplers/jaegerremote
. (#7061)Improve performance by reducing allocations in the gRPC stats handler in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#7186)Update
http.route
attribute to supportrequest.Pattern
in `go.opentConfiguration
📅 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.
👻 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.