Added
- Add client metric support to
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#4707) - Add peer attributes to spans recorded by
NewClientHandler,NewServerHandleringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4873) - Add support for
cloud.account.id,cloud.availability_zoneandcloud.regionin the AWS ECS detector. (#4860)
Changed
- The fallback options in
go.opentelemetry.io/contrib/exporters/autoexportnow accept factory functions. (#4891)WithFallbackMetricReader(metric.Reader) MetricOptionis replaced withfunc WithFallbackMetricReader(func(context.Context) (metric.Reader, error)) MetricOption.WithFallbackSpanExporter(trace.SpanExporter) SpanOptionis replaced withWithFallbackSpanExporter(func(context.Context) (trace.SpanExporter, error)) SpanOption.
- The
http.server.request_content_lengthmetric ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis changed tohttp.server.request.size.(#4707) - The
http.server.response_content_lengthmetric ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis changed tohttp.server.response.size.(#4707)
Deprecated
- The
RequestCount,RequestContentLength,ResponseContentLength,ServerLatencyconstants ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare deprecated. (#4707)
Fixed
- Do not panic in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcifMeterProviderreturns anilinstrument. (#4875)
New Contributors
- @acpana made their first contribution in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4831
- @hiroyaonoe made their first contribution in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4704
- @hcelaloner made their first contribution in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4891
Full Changelog: https://github.com/open-telemetry/opentelemetry-go-contrib/compare/v1.22.0...v1.23.0