Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0#6889
Merged
Conversation
14 tasks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6889 +/- ##
=====================================
Coverage 76.1% 76.1%
=====================================
Files 220 220
Lines 21448 21448
=====================================
Hits 16332 16332
Misses 4557 4557
Partials 559 559
🚀 New features to boost your workflow:
|
MrAlias
approved these changes
Mar 5, 2025
pellared
approved these changes
Mar 5, 2025
MrAlias
approved these changes
Mar 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This release is the last to support Go 1.22.
The next release will require at least Go 1.23.
Warning
This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries
by default. The next version (0.61.0) will default to v1.26.0, and the
following one (0.62.0) will drop support for Semantic Conventions v1.20.0
You can switch to the new Semantic Conventions right now by setting the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable in yourapplication.
See also the HTTP semantic conventions stability
migration
Added
ClientCertificateandClientKeyfield for OTLP exporters ingo.opentelemetry.io/contrib/config. (config: add support for extra TLS configuration #6378)WithAttributeBuilder,AttributeBuilder,DefaultAttributeBuilder,DynamoDBAttributeBuilder,SNSAttributeBuilderto support adding attributes based on SDK input and output ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (Support output value in AttributeSetter #6543)OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (Migrate tosemconvforotelmuxand implement the package intracing#6652)WithMeterProvideroption to allow passing a custom meter provider togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (feat: support metrics for otelmux #6648)WithMetricAttributesFnoption to allow setting dynamic, per-request metric attributes ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (feat: support metrics for otelmux #6648)go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (feat: support metrics for otelmux #6648)Insecurefield for OTLP exporters ingo.opentelemetry.io/contrib/config. (config: add support for Insecure #6658)OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ininstrumentation/net/http/httptrace/otelhttptraceto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (Use semconv migration package for httptrace #6720)OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ininstrumentation/github.com/emicklei/go-restful/otelrestfulto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (Use semconv package for otelrestful #6710)go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (feat(otelgin): add metrics recording for HTTP server #6747)OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (refactor(otelgin): refactor HTTP server attributes to use newsemconvpackage #6778)OTEL_SEMCONV_STABILITY_OPT_INto 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/otelmongoper the Database semantic convention stability migration guide. (otelmongo: support OTEL_SEMCONV_STABILITY_OPT_IN for v1.26.0 semconv #6172)HeadersListfield for OTLP exporters ingo.opentelemetry.io/contrib/config. (config: support HeadersList #6657)go.opentelemetry.io/contrib/otelconfmodule which is a replacement forgo.opentelemetry.io/contrib/config. (otelconfig: new module as a copy of config module which is being deprecated #6796)WithFallbackLogExporterto allow setting a fallback log exporter whenOTEL_LOGS_EXPORTERis unset ingo.opentelemetry.io/contrib/exporters/autoexport. (Added WithFallbackLogExporter func #6844)Changed
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (Support output value in AttributeSetter #6543)code.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelslognow stores the package path-qualified function name instead of just the function name.The
code.namespaceattribute is no longer added. (otelslog, otelzap: align with code attributes semantic conventions #6870)code.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelzapnow stores the package path-qualified function name instead of just the function name.The
code.namespaceattribute is no longer added. (otelslog, otelzap: align with code attributes semantic conventions #6870)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/otelhttpDeprecated
WithAttributeSetter,AttributeSetter,DefaultAttributeSetter,DynamoDBAttributeSetter,SNSAttributeSetterin favor ofWithAttributeBuilder,AttributeBuilder,DefaultAttributeBuilder,DynamoDBAttributeBuilder,SNSAttributeBuilderingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (Support output value in AttributeSetter #6543)go.opentelemetry.io/contrib/configmodule in favor ofgo.opentelemetry.io/contrib/otelconf. This is the last release of this module. (otelconfig: new module as a copy of config module which is being deprecated #6796)Fixed
context.Background()as default context instead of nil ingo.opentelemetry.io/contrib/bridges/otellogr. (otellogr: Fix nil context panic #6527)go.opentelemetry.io/contrib/bridges/prometheus. (fix: convert Prometheus histograms to non-cumulative otel histogram #6685)go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (otelgrpc: only start span if not filtered out #6695)NewSDKofgo.opentelemetry.io/contrib/config/v0.3.0. (config: fix issue causing a crash on invalid value #6752)go.opentelemetry.io/contrib/config. ([config] Allow prometheus to configure IPv6 by using the standard net host port joining #6815)