-
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-contribmonorepo dependencies to their latest versions. - Module Specific Updates: Several
go.modfiles are updated to reflect the new versions of theopentelemetryrelated modules.
Changelog
- opentelemetry/instrumentation/app/go.mod
- Updated
go.opentelemetry.io/contrib/exporters/autoexportfromv0.53.0tov0.60.0. - Updated
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpfromv0.59.0tov0.60.0. - Updated
go.opentelemetry.io/contrib/propagators/autopropfromv0.53.0tov0.60.0.
- Updated
- opentelemetry/trace/go.mod
- Updated
go.opentelemetry.io/contrib/detectors/gcpfromv1.34.0tov1.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.0v0.53.0->v0.62.0v0.59.0->v0.62.0v0.53.0->v0.62.0Warning
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
WithPublicEndpointandWithPublicEndpointFnoptions togo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7407)Changed
go.opentelemetry.io/contrib/instrumentation/runtimenow produces the new metrics by default. SetOTEL_GO_X_DEPRECATED_RUNTIME_METRICS=trueenvironment variable to additionally produce the deprecated metrics. (#7418)v1.30.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7361)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/ec2. (#7373, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/eks. (#7375, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/ecs. (#7374, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/lambda. (#7376, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/azure/azurevm. (#7377, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otelslog. (#7361, #7484)v1.27.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otellogr. (#7387, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otelzap. (#7389, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/gcp. (#7378, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful. (#7383, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7383, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7383, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#7383, #7484)v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7383, #7484)go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongotov1.34.0. (#7393, #7484)go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongotov1.34.0. (#7393, #7484)go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawstov1.34.0. (#7394, #7484)messaging.system=AmazonSQSattribute has been corrected tomessaging.system=aws.sqs.net.peer.addrattribute key has been upgraded toserver.address.http.status_codeattribute key has been upgraded tohttp.response.status_code.db.system=dynamodbattribute has been corrected todb.system.name=aws.dynamodb.messaging.operation.type=publishattribute has been corrected tomessaging.operation.type=send.v1.21.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda. (#7400, #7484)go.opentelemetry.io/contrib/instrumentation/hosthave been upgraded tov1.34.0. (#7390, #7484)process.cpu.timeis updated to comply with semantic conventions.process.cpu.timenow uses thestateattribute instead ofcpu.mode.system.cpu.timemetric is renamed tocpu.time.cpu.timenow uses thestateattribute instead ofcpu.mode.system.memory.usagenow uses thestateattribute instead ofsystem.memory.state.system.memory.utilizationnow uses thestateattribute instead ofsystem.memory.state.system.memory.stateattribute (nowstate) value ofavailableis nowfreeinstead.Deprecated
AttributeCPUTimeUseringo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeSystemingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeOtheringo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeIdleingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)AttributeMemoryAvailableingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)AttributeMemoryUsedingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)AttributeNetworkTransmitingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)AttributeNetworkReceiveingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.Use
go.opentelemetry.io/otel/semconvinstead. (#7390)Fixed
go.opentelemetry.io/contrib/detectors/aws/eks. (#7483)context.Contextfields ingo.opentelemetry.io/contrib/bridges/otelzap. (#7368)ClientTracerdid not have a span ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#7464)go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7146)Removed
StreamServerInterceptorfunction fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed. (#7362)What's Changed
StreamServerInterceptorfunction from otelgrpc by @sonalgaud12 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7362b2b9eeaby @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7391200df99by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7392bridges/otelzapby @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7389semconv/v1.34.0/goconvininstrumentation/runtimeby @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7372otelconfby @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/738525d2f78by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7401Propagator.Injectfunction inpropagators/aws/xrayby @sonalgaud12 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/739965e9200by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7408b6e5de4by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7410OTEL_SEMCONV_STABILITY_OPT_IN=http/dupwith new/old metrics by @keisku in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7356hostinstrumentation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7390513f239by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74239a9ac21by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74214c0f3b2by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74274884adeby @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74388b98d1eby @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74599627e99by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7461e50bbf1by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/74658f04292by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7478b7579e2by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/749490b6ad3by @renovate in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/7496fef9409by @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.routeattribute to otelhttp server request spans, whennet/http.Request.Patternis set in the modules below. (#6905, #6937)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpWithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otelzap. (#6962)WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otelslog. (#6965)WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogrus. (#6966)WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogr. (#6967)WithGinMetricAttributesoption to allow setting dynamic, per-request metric attributes based on*gin.Contextingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6932)ClientIPmethod 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)SeverityTextattribute using source value ingo.opentelemetry.io/contrib/bridges/otelslog. (#7198)http.routemetric attribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7275)WithSpanStartOptionsoption to add custom options to new spansgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7261)go.mongodb.org/mongo-driver/v2ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#6539)req.Patternis 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.TraceIDRatioBasedingo.opentelemetry.io/contrib/samplers/jaegerremote. (#6892)Switched the default for
OTEL_SEMCONV_STABILITY_OPT_INto emit the v1.26.0 semantic conventions by default in the following modules.go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttpThe
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment 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/dupin the modules below. (#7180)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttpUpdate 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.routeattribute to supportrequest.Patternin `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.