Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases.
Release v1.24.0/v0.49.0/v0.18.0/v0.4.0
This release is the last to support Go 1.20. The next release will require at least Go 1.21.
Added
- Support Go 1.22. (#5082)
- Add support for Summary metrics to
go.opentelemetry.io/contrib/bridges/prometheus
. (#5089)- Add support for Exponential (native) Histograms in
go.opentelemetry.io/contrib/bridges/prometheus
. (#5093)Removed
- The deprecated
RequestCount
constant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
is removed. (#4894)- The deprecated
RequestContentLength
constant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
is removed. (#4894)- The deprecated
ResponseContentLength
constant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
is removed. (#4894)- The deprecated
ServerLatency
constant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
is removed. (#4894)Fixed
- Retrieving the body bytes count in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
does not cause a data race anymore. (#5080)New Contributors
@arvindbr8
made their first contribution in open-telemetry/opentelemetry-go-contrib#4897@wushujames
made their first contribution in open-telemetry/opentelemetry-go-contrib#5135Full Changelog: https://github.com/open-telemetry/opentelemetry-go-contrib/compare/v1.23.0...v1.24.0
Release v1.23.0/v0.48.0/v0.17.0/v0.3.0
Added
- Add client metric support to
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#4707)- Add peer attributes to spans recorded by
NewClientHandler
,NewServerHandler
ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#4873)- Add support for
cloud.account.id
,cloud.availability_zone
andcloud.region
in the AWS ECS detector. (#4860)Changed
- The fallback options in
go.opentelemetry.io/contrib/exporters/autoexport
now accept factory functions. (#4891)
WithFallbackMetricReader(metric.Reader) MetricOption
is replaced withfunc WithFallbackMetricReader(func(context.Context) (metric.Reader, error)) MetricOption
.WithFallbackSpanExporter(trace.SpanExporter) SpanOption
is replaced withWithFallbackSpanExporter(func(context.Context) (trace.SpanExporter, error)) SpanOption
.- The
http.server.request_content_length
metric ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
is changed tohttp.server.request.size
.(#4707)- The
http.server.response_content_length
metric ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
is changed tohttp.server.response.size
.(#4707)Deprecated
- The
RequestCount
,RequestContentLength
,ResponseContentLength
,ServerLatency
constants ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
are deprecated. (#4707)
... (truncated)
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog.
[1.19.0/0.44.0/0.13.0] - 2023-09-12
Added
- Add
gcp.gce.instance.name
andgcp.gce.instance.hostname
resource attributes togo.opentelemetry.io/contrib/detectors/gcp
. (#4263)Changed
- The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/ec2
have been upgraded to v1.21.0. (#4265)- The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/ecs
have been upgraded to v1.21.0. (#4265)- The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/eks
have been upgraded to v1.21.0. (#4265)- The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/lambda
have been upgraded to v1.21.0. (#4265)- The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda
have been upgraded to v1.21.0. (#4265)
- The
faas.execution
attribute is nowfaas.invocation_id
.- The
faas.id
attribute is nowaws.lambda.invoked_arn
.- The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
have been upgraded to v1.21.0. (#4265)- The
http.request.method
attribute will only allow known HTTP methods from the metrics generated bygo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#4277)Removed
- The high cardinality attributes
net.sock.peer.addr
,net.sock.peer.port
,http.user_agent
,enduser.id
, andhttp.client_ip
were removed from the metrics generated bygo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#4277)- The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego
module is removed. (#4295)- The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit
module is removed. (#4295)- The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama
module is removed. (#4295)- The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache
module is removed. (#4295)- The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/gocql/gocql/otelgocql
module is removed. (#4295)[1.18.0/0.43.0/0.12.0] - 2023-08-28
Added
- Add
NewMiddleware
function ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#2964)- The
go.opentelemetry.io/contrib/exporters/autoexport
package to provide configuration of trace exporters with useful defaults and environment variable support. (#2753, #4100, #4130, #4132, #4134)WithRouteTag
ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
adds HTTP route attribute to metrics. (#615)- Add
WithSpanOptions
option ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#3768)- Add testing support for Go 1.21. (#4233)
- Add
WithFilter
option togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
. (#4230)Changed
- Change interceptors in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
to disableSENT
/RECEIVED
events. UseWithMessageEvents()
to turn back on. (#3964)Changed
go.opentelemetry.io/contrib/detectors/gcp
: Detectfaas.instance
instead offaas.id
, sincefaas.id
is being removed. (#4198)Fixed
... (truncated)
fdfa6e3
Release v1.19.0/v0.44.0/v0.13.0 (#4299)aea7540
build(deps): bump github.com/aws/aws-sdk-go in /detectors/aws/ec2 (#4297)7e88614
Remove otelbeego, otelkit, otelsarama, otelmemcache, otelgocql (#4295)14f153e
build(deps): bump actions/checkout from 3 to 4 (#4291)01c596d
dependabot updates Mon Sep 11 05:08:50 UTC 2023 (#4294)50ca48f
Remove high cardanility metrics from otelhttp (#4277)b6fc62f
Update go versions used in workflow (#4278)7a8f53c
Add new gcp host attributes (#4263)aab5f49
[mux] Add request filters like otelhttp (#4230)3ad5a2c
Deprecate otelmemcache, otelgocql (#4164)