Releases: open-telemetry/opentelemetry-go-contrib
Releases · open-telemetry/opentelemetry-go-contrib
Release v1.18.0/v0.43.0/v0.12.0
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)
Changed
- Change interceptors in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
to disableSENT
/RECEIVED
events.
UseWithMessageEvents()
to turn back on. (#3964)
Fixed
- AWS XRay Remote Sampling to cap
quotaBalance
to 1x quota ingo.opentelemetry.io/contrib/samplers/aws/xray
. (#3651, #3652) - Do not panic when the HTTP request has the "Expect: 100-continue" header in
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
. (#3892) - Fix span status value set for non-standard HTTP status codes in modules listed below. (#3966)
go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- Do not modify the origin request in
RoundTripper
ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#4033) - Handle empty value of
OTEL_PROPAGATORS
environment variable the same way as when the variable is unset ingo.opentelemetry.io/contrib/propagators/autoprop
. (#4101) - Fix gRPC service/method URL path parsing discrepancies in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#4135)
Deprecated
- The
go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego
module is deprecated. (#4092, #4104) - The
go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkit
module is deprecated. (#4093, #4104) - The
go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama
module is deprecated. (#4099)
Removed
- Remove
Handler
type ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#2964)
New Contributors
- @alnr made their first contribution in #2964
- @Alkorin made their first contribution in #3892
- @Baliedge made their first contribution in #3964
- @gastonqiu made their first contribution in #4033
- @charleskorn made their first contribution in #615
Full Changelog: v1.17.0...v1.18.0
Release v1.17.0/v0.42.0/v0.11.0
What's Changed
Changed
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.16.0
/v0.39.0
release. - Use
strings.Cut()
instead ofstring.SplitN()
for better readability and memory use. (#3822)
Full Changelog: v1.17.0-rc.1...v1.17.0
Release v1.17.0-rc.1/v0.42.0-rc.1/v0.11.0-rc.1
What's Changed
Changed
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.16.0-rc.1
/v0.39.0-rc.1
release. - Remove
semver:
prefix from instrumentation version. (#3681, #3798)
Deprecated
SemVersion
functions in instrumentation packages are deprecated, useVersion
instead. (#3681, #3798)
New Contributors
- @9bany made their first contribution in #3798
Full Changelog: v1.16.1...v1.17.0-rc.1
Release v1.16.1/v0.41.1/v0.10.1
What's Changed
Added
- The
WithPublicEndpoint
andWithPublicEndpointFn
options ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
. (#3661)
Changed
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.15.1
/v0.38.1
release
Fixed
- AWS XRay Remote Sampling to preserve previous rule if updated rule property has not changed in
go.opentelemetry.io/contrib/samplers/aws/xray
. (#3619, #3620)
New Contributors
Full Changelog: v1.16.0...v1.16.1
Release v1.16.0/v0.41.0/v0.10.0
Added
- AWS SDK add
rpc.system
attribute ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
. (#3582, #3617)
Changed
- Update
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
to align gRPC server span status with the changes in the OpenTelemetry specification. (#3685) - Adding the
db.statement
tag to spans ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo
is now disabled by default. (#3519)
Fixed
- The error received by
otelecho
middleware is then passed back to upstream middleware instead of being swallowed. (#3656) - Prevent taking from reservoir in AWS XRay Remote Sampler when there is zero capacity in
go.opentelemetry.io/contrib/samplers/aws/xray
. (#3684) - Fix
otelhttp.Handler
ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
to propagate multipleWriteHeader
calls while persisting the initialstatusCode
. (#3580)
Release v1.16.0-rc.2/v0.41.0-rc.2/v0.10.0-rc.2
This release upgrades all go.opentelemetry.io/otel
dependencies to the v1.15.0-rc.2/v0.38.0-rc.2 release.
Added
- The
WithPublicEndpoint
andWithPublicEndpointFn
options ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
. (#3563)
Fixed
Release v1.16.0-rc.1/v0.41.0-rc.1/v0.10.0-rc.1
This release upgrades to the release candidate of the stable OpenTelemetry Go metric API.
Changed
Release v1.15.0/v0.40.0/v0.9.0
This release is the last to support Go 1.18.
The next release will require at least Go 1.19.
Added
- Support Go 1.20. (#3372)
- Add
SpanNameFormatter
option to packagego.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
. (#3343)
Changed
- Change to use protobuf parser instead of encoding/json to accept enums as strings in
go.opentelemetry.io/contrib/samplers/jaegerremote
. (#3183)
Fixed
- Remove use of deprecated
"math/rand".Seed
ingo.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama/example/producer
. (#3396) - Do not assume "aws" partition in ecs detector to prevent panic in
go.opentelemetry.io/contrib/detectors/aws/ecs
. (#3167) - The span name of producer spans from
go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama
is corrected to usepublish
instead ofsend
. (#3369) - Attribute types are corrected in
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
. (#3369)aws.dynamodb.table_names
is now a string slice value.aws.dynamodb.global_secondary_indexes
is now a string slice value.aws.dynamodb.local_secondary_indexes
is now a string slice value.aws.dynamodb.attribute_definitions
is now a string slice value.aws.dynamodb.global_secondary_index_updates
is now a string slice value.aws.dynamodb.provisioned_read_capacity
is now afloat64
value.aws.dynamodb.provisioned_write_capacity
is now afloat64
value.
Release v1.14.0/v0.39.0/v0.8.0
1.14.0/0.39.0/0.8.0 - 2023-02-07
Changed
- Change
runtime.uptime
instrument ingo.opentelemetry.io/contrib/instrumentation/runtime
fromInt64ObservableUpDownCounter
toInt64ObservableCounter
,
since the value is monotonic. (#3347)
Fixed
- The GCE detector in
go.opentelemetry.io/contrib/detectors/gcp
includes the "cloud.region" attribute when appropriate. (#3367)
Release v1.13.0/v0.38.0/v0.7.0
Added
- Add
WithSpanNameFormatter
togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
to allow customizing span names. (#3041) - Add missing recommended AWS Lambda resource attributes
faas.instance
andfaas.max_memory
ingo.opentelemetry.io/contrib/detectors/aws/lambda
. (#3148) - Improve documentation for
go.opentelemetry.io/contrib/samplers/jaegerremote
by providing examples of sampling endpoints. (#3147) - Add
WithServerName
togo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
to set the primary server name of aHandler
. (#3182)
Changed
- Remove expensive calculation of uncompressed message size attribute in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
. (#3168) - Upgrade all
semconv
packages to usev1.17.0
. (#3182) - Upgrade dependencies of OpenTelemetry Go to use the new
v1.12.0
/v0.35.0
release. (#3190, #3170)