Bump go.opentelemetry.io/otel/sdk from 1.24.0 to 1.25.0
Bumps go.opentelemetry.io/otel/sdk from 1.24.0 to 1.25.0.
Changelog
Sourced from go.opentelemetry.io/otel/sdk's changelog.
[1.25.0/0.47.0/0.0.8/0.1.0-alpha] 2024-04-05
Added
- Add
WithProxy
option ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#4906)- Add
WithProxy
option ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp
. (#4906)- Add
AddLink
method to theSpan
interface ingo.opentelemetry.io/otel/trace
. (#5032)- The
Enabled
method is added to theLogger
interface ingo.opentelemetry.io/otel/log
. This method is used to notify users if a log record will be emitted or not. (#5071)- Add
SeverityUndefined
const
togo.opentelemetry.io/otel/log
. This value represents an unset severity level. (#5072)- Add
Empty
function ingo.opentelemetry.io/otel/log
to return aKeyValue
for an empty value. (#5076)- Add
go.opentelemetry.io/otel/log/global
to manage the globalLoggerProvider
. This package is provided with the anticipation that all functionality will be migrate togo.opentelemetry.io/otel
whengo.opentelemetry.io/otel/log
stabilizes. At which point, users will be required to migrage their code, and this package will be deprecated then removed. (#5085)- Add support for
Summary
metrics in thego.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
exporters. (#5100)- Add
otel.scope.name
andotel.scope.version
tags to spans exported bygo.opentelemetry.io/otel/exporters/zipkin
. (#5108)- Add support for
AddLink
togo.opentelemetry.io/otel/bridge/opencensus
. (#5116)- Add
String
method toValue
andKeyValue
ingo.opentelemetry.io/otel/log
. (#5117)- Add Exemplar support to
go.opentelemetry.io/otel/exporters/prometheus
. (#5111)- Add metric semantic conventions to
go.opentelemetry.io/otel/semconv/v1.24.0
. Futuresemconv
packages will include metric semantic conventions as well. (#4528)Changed
SpanFromContext
andSpanContextFromContext
ingo.opentelemetry.io/otel/trace
no longer make a heap allocation when the passed context has no span. (#5049)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
now create a gRPC client in idle mode and with "dns" as the default resolver usinggrpc.NewClient
. (#5151) Because of thatWithDialOption
ignoresgrpc.WithBlock
,grpc.WithTimeout
, andgrpc.WithReturnConnectionError
. Notice thatgrpc.DialContext
which was used before is now deprecated.Fixed
- Clarify the documentation about equivalence guarantees for the
Set
andDistinct
types ingo.opentelemetry.io/otel/attribute
. (#5027)- Prevent default
ErrorHandler
self-delegation. (#5137)- Update all dependencies to address [GO-2024-2687]. (#5139)
Removed
- Drop support for [Go 1.20]. (#4967)
Deprecated
Commits
-
6628407
Release v1.25.0/v0.47.0/v0.0.8/v0.1.0-alpha (#5154) -
82b49b4
Add otlploghttp package documentation (#5150) -
5bd5582
dependabot updates Thu Apr 4 20:43:44 UTC 2024 (#5155) -
6394b02
semconv: Add metric generation (#4880) -
35c9570
Prevent default ErrorHandler self-delegation (#5137) -
98fd439
Bump bump google.golang.org/grpc from 1.62.1 to 1.63.0 and use grpc.NewClient... -
0168437
Add exemplar support to the prometheus exporter (#5111) -
e6e4e4a
build(deps): bump benchmark-action/github-action-benchmark (#5142) -
73ee3bb
build(deps): bump codecov/codecov-action from 4.1.1 to 4.2.0 (#5140) -
14e3f6b
Add otlploghttp exporter skeleton (#5138) - Additional commits viewable in compare view