-
Notifications
You must be signed in to change notification settings - Fork 728
Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0 #7350
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7350 +/- ##
=======================================
- Coverage 81.6% 81.6% -0.1%
=======================================
Files 205 205
Lines 18231 18231
=======================================
- Hits 14888 14885 -3
- Misses 2922 2924 +2
- Partials 421 422 +1
🚀 New features to boost your workflow:
|
Co-authored-by: Robert Pająk <[email protected]>
Co-authored-by: Robert Pająk <[email protected]>
MrAlias
left a comment
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.
This does not bump any contrib repositories. The versions.yaml file needs to be updated and the release make target run.
|
Yes, sorry, my bad. That has been done now. |
|
Let's wait for the resolution of open-telemetry/opentelemetry-go#6803 so we can depend on the latest releases with retractions. |
|
This is now using log/0.12.2. |
Overview
Added
http.routeattribute to otelhttp server request spans, whennet/http.Request.Patternis set in the modules below. (internal/shared/semconv: set http.route from Request.Pattern #6905, internal/shared/semconv: remove redundant HTTP method from http.route #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. (otelzap: Add WithAttributes option #6962)WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otelslog. (otelslog: Add WithAttributes option #6965)WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogrus. (otellogrus: Add WithAttributes option #6966)WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogr. (otellogr: Add WithAttributes option #6967)WithGinMetricAttributesoption to allow setting dynamic, per-request metric attributes based on*gin.Contextingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (feat(otelgin): add theWithGinMetricAttributesoption to allow setting dynamic, per-request metric attributes based on*gin.Context#6932)ClientIPmethod to detect the client's IP, which supports custom proxy headers ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (Gin instrumentation: support reading Client IP from custom headers, and make sure proxy is trusted #6095)go.opentelemetry.io/contrib/propagators/jaeger. (Add test for jaeger fields #7119)go.opentelemetry.io/contrib/otelconf. (otelconf: add sampler configuration support #7148)SeverityTextattribute using source value ingo.opentelemetry.io/contrib/bridges/otelslog. (otelslog: set SeverityText on log records #7198)http.routemetric attribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (otelgin: add http.route metric attribute #7275)WithSpanStartOptionsoption to add custom options to new spansgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (otelgin: Add a WithSpanStartOptions option #7261)go.mongodb.org/mongo-driver/v2ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (feat: adding instrumentation support for mongo-driver/v2 #6539)req.Patternis set, so the span name can include it ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (otelhttp: handle request Pattern #7192)Changed
Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as
trace.TraceIDRatioBasedingo.opentelemetry.io/contrib/samplers/jaegerremote. (Align jaeger probabilistic sampler with trace.TraceIDRatioBased #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. (Switch the semconv migration default to new #6899)
Improve performance by reducing allocations for http request when using
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupin the modules below. (improve performance for attributes http/dup #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. (chore: use jaeger-idl/proto-gen/api_v2 #7061)Improve performance by reducing allocations in the gRPC stats handler in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (otelgrpc: reduce allocation for stats handler #7186)Update
http.routeattribute to supportrequest.Patterningo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (feat(otelmux): updatehttp.routeattribute to supportrequest.Pattern#7108)Change the default span name to be
GET /pathso it complies with the HTTP semantic conventions ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (otelgin: update default span name to align with semantic conventions #6381)Set
url.schemeattribute to the request URL.Scheme when possible for HTTP client metrics ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (otelhttp: Correctly seturl.schemeattr in http client metrics. #6938)The semantic conventions have been upgraded from
v1.17.0tov1.30.0ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (Upgrade semantic conventions inotelgrpcfromv1.17.0tov1.30.0#7270)net.peer.*andnet.host.*attributes are now set to correctserver.*attributes.net.socket.*attributes are set.Only sample spans when
Sampled=1ingo.opentelemetry.io/contrib/propagators/aws/xray. (propagators/aws/xray: sample only when Sampled=1 #7318)Fixed
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/otelhttpUnreleased/Fixedof./CHANGELOG.md. (Remove markdown lint issues in CHANGELOG.md #7163)Changedsubheader under1.18.0/0.43.0/0.12.0in./CHANGELOG.md. (Remove markdown lint issues in CHANGELOG.md #7163)go.opentelemetry.io/contrib/otelconf. (otelconf: only add tls config if related fields are set #6984)OTEL_SEMCONV_STABILITY_OPT_INenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (fix(otelgin): considerOTEL_SEMCONV_STABILITY_OPT_INfor trace attributes #7215)OTEL_SEMCONV_STABILITY_OPT_INopt-in in the following packages. (Instrumentation should assumeOTEL_SEMCONV_STABILITY_OPT_INhas a list of values #7246)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful.go.opentelemetry.io/contrib/instrumentation/gin-gonic/gin/otelgin.go.opentelemetry.io/contrib/instrumentation/gorilla/mux/otelmux.go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo.go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace.go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.Removed
go.opentelemetry.io/contrib/configpackage is removed, usego.opentelemetry.io/contrib/otelconfinstead. (remove deprecated config module #6894)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda, useVersionfunction instead. (RemoveSemVersionfrominstrumentation/github.com/aws/aws-lambda-go/otellambda#7058)SemVersionfunction ingo.opentelemetry.io/contrib/samplers/probability/consistentis removed, useVersioninstead. (samplers/probability/consistent: remove deprecated SemVersion function #7072)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/testpackage, useVersioninstead. (chore: remove SemVersion from instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test #7077)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/gorilla/mux/otelmux #7084)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/gin-gonic/gin/otelgin #7085)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test, useVersionfunction instead. (Remove SemVersion from instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test #7142)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/test, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/gorilla/mux/otelmux/test #7086)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo, useVersionfunction instead. (Remove SemVersion from instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo #7140)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin/test, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/gin-gonic/gin/otelgin/test #7087)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/labstack/echo/otelecho #7089)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho/test, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/labstack/echo/otelecho/test #7090)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/emicklei/go-restful/otelrestful #7091)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/test, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/emicklei/go-restful/otelrestful/test #7092)UnaryServerInterceptoringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed, useNewServerHandlerinstead. (Remove UnaryServerInterceptor #7115)DynamoDBAttributeSetterfunction is removedopentelemetry-go-contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/dynamodbattributes.go, useVersionfunction instead.(Removed DynamoDBAttributeSetter and TestDynamodbTagsCustomSetter #7128)SNSAttributeSetterfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws, useSNSAttributeBuilderfunction instead. (Remove deprecated SNSAttributeSetter function in otelaws #7136)AttributeSetterfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws, use theAttributeBuilderfunction instead. (remove deprecated AttributeSetter function in otelaws #7137)SemVersionfunction is removed ingo.opentelemetry.io/contrib/zpages, useVersionfunction instead. (RemovedSemVersionfomzpages,samplers/jaegerremote,propagators/opencensus, andinstrumentation/runtime#7147)SemVersionfunction is removed ingo.opentelemetry.io/contrib/samplers/jaegerremote, useVersionfunction instead. (RemovedSemVersionfomzpages,samplers/jaegerremote,propagators/opencensus, andinstrumentation/runtime#7147)SemVersionfunction is removed ingo.opentelemetry.io/contrib/propagators/opencensus, useVersionfunction instead. (RemovedSemVersionfomzpages,samplers/jaegerremote,propagators/opencensus, andinstrumentation/runtime#7147)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/runtime, useVersionfunction instead. (RemovedSemVersionfomzpages,samplers/jaegerremote,propagators/opencensus, andinstrumentation/runtime#7147)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws, useVersionfunction instead. (Remove SemVersion from instrumentation/github.com/aws/aws-sdk-go-v2/otelaws #7154)DefaultAttributeSetteringo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsis removed, use theDefaultAttributeBuilderfunction instead. (remove deprecated DefaultAttributeSetter in otelaws #7127)UnaryClientInterceptorfunction is removed ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcuseNewClientHandlerfunction instead. (remove deprecated UnaryClientInterceptor function from otelgrpc #7125)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, useVersionfunction instead. (Remove SemVersion from instrumentation/net/http/otelhttp #7167)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace, useVersionfunction instead. (Remove SemVersion from instrumentation/net/http/httptrace/otelhttptrace and instrumentation/net/http/httptrace/otelhttptrace/test #7144)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/test, useVersionfunction instead. (Remove SemVersion from instrumentation/net/http/httptrace/otelhttptrace and instrumentation/net/http/httptrace/otelhttptrace/test #7144)go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptorpackage is removed, usego.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filtersinstead. (Remove deprecated package #7110)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, useVersionfunction instead. (Remove SemVersion from instrumentation/google.golang.org/grpc/otelgrpc and instrumentation/google.golang.org/grpc/otelgrpc/test #7143)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/test, useVersionfunction instead. (Remove SemVersion from instrumentation/google.golang.org/grpc/otelgrpc and instrumentation/google.golang.org/grpc/otelgrpc/test #7143)SQSAttributeSetterfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawspackage, useSQSAttributeBuilderinstead. (chore: remove deprecated SQSAttributeSetter functions from instrumentation/github.com/aws/aws-sdk-go-v2/otelaws #7145)SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/hostpackage, useVersioninstead. (RemoveSemVersionfrominstrumentation/host#7203)GRPCStatusCodeKeyconstant fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed.Use
semconv.RPCGRPCStatusCodeKeyfromgo.opentelemetry.io/otel/semconv/*instead. (Upgrade semantic conventions inotelgrpcfromv1.17.0tov1.30.0#7270)