Skip to content

Releases: open-telemetry/opentelemetry-go-contrib

Release v1.16.0/v0.41.0/v0.10.0

28 Apr 17:44
v1.16.0
bcd415e
Compare
Choose a tag to compare

Added

  • AWS SDK add rpc.system attribute in go.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 in go.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 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to propagate multiple WriteHeader calls while persisting the initial statusCode. (#3580)

Release v1.16.0-rc.2/v0.41.0-rc.2/v0.10.0-rc.2

23 Mar 15:49
v1.16.0-rc.2
81f1a7e
Compare
Choose a tag to compare

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 and WithPublicEndpointFn options in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful. (#3563)

Fixed

  • AWS SDK span name to be of the format Service.Operation in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#3582, #3521)
  • Prevent sampler configuration reset from erroneously sampling first span in go.opentelemetry.io/contrib/samplers/jaegerremote. (#3603, #3604)

Release v1.16.0-rc.1/v0.41.0-rc.1/v0.10.0-rc.1

02 Mar 17:12
v1.16.0-rc.1
de302a1
Compare
Choose a tag to compare

This release upgrades to the release candidate of the stable OpenTelemetry Go metric API.

Changed

  • Dropped compatibility testing for Go 1.18. The project no longer guarantees support for this version of Go. (#3516)

Release v1.15.0/v0.40.0/v0.9.0

28 Feb 01:30
v1.15.0
3311cc2
Compare
Choose a tag to compare

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 package go.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 in go.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 use publish instead of send. (#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 a float64 value.
    • aws.dynamodb.provisioned_write_capacity is now a float64 value.

Release v1.14.0/v0.39.0/v0.8.0

07 Feb 21:48
v1.14.0
0a2a048
Compare
Choose a tag to compare

1.14.0/0.39.0/0.8.0 - 2023-02-07

Changed

  • Change runtime.uptime instrument in go.opentelemetry.io/contrib/instrumentation/runtime from Int64ObservableUpDownCounter to Int64ObservableCounter,
    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

30 Jan 16:10
v1.13.0
538baec
Compare
Choose a tag to compare

Added

  • Add WithSpanNameFormatter to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to allow customizing span names. (#3041)
  • Add missing recommended AWS Lambda resource attributes faas.instance and faas.max_memory in go.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 to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to set the primary server name of a Handler. (#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 use v1.17.0. (#3182)
  • Upgrade dependencies of OpenTelemetry Go to use the new v1.12.0/v0.35.0 release. (#3190, #3170)

Release v1.12.0/0.37.0/0.6.0

05 Dec 21:55
v1.12.0
ad04d9c
Compare
Choose a tag to compare

Added

  • Implemented retrieving the aws.ecs.* resource attributes in go.opentelemetry.io/detectors/aws/ecs based on the ECS Metadata v4 endpoint. (#2626)
  • The WithLogger option to go.opentelemetry.io/contrib/samplers/jaegerremote to allow users to pass a logr.Logger and have operations logged. (#2566)
  • Add the messaging.url & messaging.system attributes to all appropriate SQS operations in the go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws package. (#2879)
  • Add example use of the metrics signal to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/example. (#2610)
  • [otelgin] Add support for filters to the go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin package to provide the way to control which inbound requests are traced. (#2965, #2963)

Fixed

  • Set the status_code span attribute even if the HTTP handler hasn't written anything. (#2822)
  • Do not wrap http.NoBody in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, which fixes handling of that special request body. (#2983)

Release v1.11.1/v0.36.4/v0.5.2

20 Oct 15:39
v1.11.1
d16c3da
Compare
Choose a tag to compare

Added

  • Add trace context propagation support to instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#2856).

Changed

Release v1.11.0/v0.36.2/v0.5.1

12 Oct 18:12
v1.11.0
151c999
Compare
Choose a tag to compare

Changed

Release v0.36.2

11 Oct 22:42
zpages/v0.36.2
07aa7b2
Compare
Choose a tag to compare

Changed

  • Upgrade dependencies of the OpenTelemetry Go Metric SDK to use the new v0.32.2 release
  • Avoid getting a new Tracer for every RPC in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#2835)
  • Conditionally compute message size for tracing events using proto v2 API rather than legacy v1 API in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#2647)

Deprecated

  • The Inject function in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is deprecated. (#2838)
  • The Extract function in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is deprecated. (#2838)