Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.56.0 to 0.57.0
requested to merge dependabot-go_modules-go.opentelemetry.io-contrib-instrumentation-net-http-otelhttp-0.57.0 into main
Bumps go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.56.0 to 0.57.0.
Release notes
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases.
Release v1.32.0/v0.57.0/v0.26.0/v0.12.0/v0.7.0/v0.5.0/v0.4.0
Overview
Added
- Add the
WithSource
option to thego.opentelemetry.io/contrib/bridges/otelslog
log bridge to set thecode.*
attributes in the log record that includes the source location where the record was emitted. (#6253)- Add
ContextWithStartTime
andStartTimeFromContext
togo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
, which allows setting the start time using go context. (#6137)- Set the
code.*
attributes ingo.opentelemetry.io/contrib/bridges/otelzap
if thezap.Logger
was created with theAddCaller
orAddStacktrace
option. (#6268)- Add a
LogProcessor
togo.opentelemetry.io/contrib/processors/baggagecopy
to copy baggage members to log records. (#6277)
- Use
baggagecopy.NewLogProcessor
when configuring a Log Provider.
NewLogProcessor
accepts aFilter
function type that selects which baggage members are added to the log record.Changed
- Transform raw (
slog.KindAny
) attribute values to matchinglog.Value
types. For example,[]string{"foo", "bar"}
attribute value is now transformed tolog.SliceValue(log.StringValue("foo"), log.StringValue("bar"))
instead oflog.String("[foo bar"])
. (#6254)- Upgrade
go.opentelemetry.io/otel/semconv/v1.17.0
togo.opentelemetry.io/otel/semconv/v1.21.0
ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo
. (#6272)- Resource doesn't merge with defaults if a valid resource is configured in
go.opentelemetry.io/contrib/config
. (#6289)Fixed
- Transform nil attribute values to
log.Value
zero value instead of panicking ingo.opentelemetry.io/contrib/bridges/otellogrus
. (#6237)- Transform nil attribute values to
log.Value
zero value instead of panicking ingo.opentelemetry.io/contrib/bridges/otelzap
. (#6237)- Transform nil attribute values to
log.Value
zero value instead oflog.StringValue("<nil>")
ingo.opentelemetry.io/contrib/bridges/otelslog
. (#6246)- Fix
NewClientHandler
so thatrpc.client.request.*
metrics measure requests instead of responses andrpc.client.responses.*
metrics measure responses instead of requests ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#6250)- Fix issue in
go.opentelemetry.io/contrib/config
causingotelprom.WithResourceAsConstantLabels
configuration to not be respected. (#6260)otel.Handle
is no longer called on a successful shutdown of the Prometheus exporter ingo.opentelemetry.io/contrib/config
. (#6299)What's Changed
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.56.0 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6251- chore(deps): update module github.com/gabriel-vasile/mimetype to v1.4.6 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6247- fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.6.0 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6249- Fix panic for nil attributes and move convert funcs to internal/shared/logutil by
@m1heng
in open-telemetry/opentelemetry-go-contrib#6237- otelslog: Transform nil attribute to empty log.Value by
@pellared
in open-telemetry/opentelemetry-go-contrib#6246- fix(deps): update module github.com/prometheus/client_golang to v1.20.5 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6255- fix(deps): update googleapis to 796eee8 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6257- fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.24.3 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6258- oteslog: Improve transforming slog.KindAny attributes by
@pellared
in open-telemetry/opentelemetry-go-contrib#6254- fix(deps): update aws-sdk-go-v2 monorepo by
@renovate
in open-telemetry/opentelemetry-go-contrib#6259- otelgrpc: Fix NewClientHandler to emit proper request/response metrics by
@bogdandrutu
in open-telemetry/opentelemetry-go-contrib#6250- config: fix bug where WithResourceAsConstantLabels wasn't set by
@codeboten
in open-telemetry/opentelemetry-go-contrib#6260- otelslog: Add WithSource option by
@Jesse0Michael
in open-telemetry/opentelemetry-go-contrib#6253- otelhttp: Allow setting start time using context by
@dashpole
in open-telemetry/opentelemetry-go-contrib#6137- chore(deps): update module github.com/bytedance/sonic/loader to v0.2.1 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6267- chore(deps): update module github.com/ebitengine/purego to v0.8.1 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6269- fix(deps): update googleapis to 324edc3 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6270- chore(deps): update prom/prometheus docker tag to v2.55.0 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6271- otelzap: Add caller and stacktrace to attributes if present by
@suniastar
in open-telemetry/opentelemetry-go-contrib#6268- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.112.0 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6274- chore(deps): update kubernetes packages to v0.31.2 by
@renovate
in open-telemetry/opentelemetry-go-contrib#6273
... (truncated)
Changelog
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog.
[1.32.0/0.57.0/0.26.0/0.12.0/0.7.0/0.5.0/0.4.0] - 2024-11-08
Added
- Add the
WithSource
option to thego.opentelemetry.io/contrib/bridges/otelslog
log bridge to set thecode.*
attributes in the log record that includes the source location where the record was emitted. (#6253)- Add
ContextWithStartTime
andStartTimeFromContext
togo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
, which allows setting the start time using go context. (#6137)- Set the
code.*
attributes ingo.opentelemetry.io/contrib/bridges/otelzap
if thezap.Logger
was created with theAddCaller
orAddStacktrace
option. (#6268)- Add a
LogProcessor
togo.opentelemetry.io/contrib/processors/baggagecopy
to copy baggage members to log records. (#6277)
- Use
baggagecopy.NewLogProcessor
when configuring a Log Provider.
NewLogProcessor
accepts aFilter
function type that selects which baggage members are added to the log record.Changed
- Transform raw (
slog.KindAny
) attribute values to matchinglog.Value
types. For example,[]string{"foo", "bar"}
attribute value is now transformed tolog.SliceValue(log.StringValue("foo"), log.StringValue("bar"))
instead oflog.String("[foo bar"])
. (#6254)- Upgrade
go.opentelemetry.io/otel/semconv/v1.17.0
togo.opentelemetry.io/otel/semconv/v1.21.0
ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo
. (#6272)- Resource doesn't merge with defaults if a valid resource is configured in
go.opentelemetry.io/contrib/config
. (#6289)Fixed
- Transform nil attribute values to
log.Value
zero value instead of panicking ingo.opentelemetry.io/contrib/bridges/otellogrus
. (#6237)- Transform nil attribute values to
log.Value
zero value instead of panicking ingo.opentelemetry.io/contrib/bridges/otelzap
. (#6237)- Transform nil attribute values to
log.Value
zero value instead oflog.StringValue("<nil>")
ingo.opentelemetry.io/contrib/bridges/otelslog
. (#6246)- Fix
NewClientHandler
so thatrpc.client.request.*
metrics measure requests instead of responses andrpc.client.responses.*
metrics measure responses instead of requests ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#6250)- Fix issue in
go.opentelemetry.io/contrib/config
causingotelprom.WithResourceAsConstantLabels
configuration to not be respected. (#6260)otel.Handle
is no longer called on a successful shutdown of the Prometheus exporter ingo.opentelemetry.io/contrib/config
. (#6299)
Commits
-
519f10d
Release v1.32.0/v0.57.0/v0.26.0/v0.12.0/v0.7.0/v0.5.0/v0.4.0 (#6311) -
bb01131
fix(deps): update module google.golang.org/grpc to v1.68.0 (#6306) -
b559799
fix(deps): update aws-sdk-go-v2 monorepo (#6308) -
0beb27c
fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.15.0 ... -
4e7a11a
chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.9 (#6304) -
8e0db19
config: don't log an error on close (#6299) -
da04e2d
fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.15.0... -
f658e10
fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.15.0 (#... -
6b29ae8
chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.113... -
68e20fe
fix(deps): update aws-sdk-go-v2 monorepo (#6298) - Additional commits viewable in compare view