Skip to content

Releases: open-telemetry/opentelemetry-go-contrib

Release v0.36.0

20 Sep 15:26
zpages/v0.36.0
0a58a17
Compare
Choose a tag to compare

Changed

Release v1.10.0/v0.35.0/v0.5.0

13 Sep 19:07
v1.10.0
c4876c3
Compare
Choose a tag to compare

Changed

  • Rename the Typ field of "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc".InterceptorInfo to Type. (#2688)
  • Use Go 1.19 as the default version for CI testing/linting. (#2675)

Release v1.9.0/v0.34.0/v0.4.0

02 Aug 21:58
v1.9.0
3b73c68
Compare
Choose a tag to compare

Upgrades all go.opentelemetry.io/otel dependencies to v1.9.0.

Added

  • The TextMapPropagator function to go.opentelemetry.io/contrib/propagators/autoprop. This function is used to return a composite TextMapPropagator from registered names (instead of having to specify with an environment variable). (#2593)

Changed

  • Upgraded all semconv package use to v1.12.0. (#2589)

Release v1.8.0/v0.33.0/v0.3.0

08 Jul 20:36
v1.8.0
e18a4d6
Compare
Choose a tag to compare

1.8.0/0.33.0 - 2022-07-08

Added

  • The go.opentelemetry.io/contrib/propagators/autoprop package to provide configuration of propagators with useful defaults and envar support. (#2258)
  • WithPublicEndpointFn hook to dynamically detect public HTTP requests and set their trace parent as a link. (#2342)

Fixed

  • Fix the otelhttp, otelgin, otelmacaron, otelrestful middlewares
    by using SpanKindServer when deciding the SpanStatus.
    This makes 4xx response codes to not be an error anymore. (#2427)

Release v1.7.0/v0.32.0/v0.2.0

28 Apr 17:09
v1.7.0
9ed99eb
Compare
Choose a tag to compare

Added

  • Consistent probability sampler implementation. (#1379)
  • AWS X-Ray remote sampling support. (#1859)

Changed

  • Upgraded all semconv package use to v1.10.0. This includes a backwards incompatible change for the otelgocql package to conform with the specification change. The db.cassandra.keyspace attribute is now transmitted as the db.name attribute. (#2222)

Fixed

  • Fix the otelmux middleware by using SpanKindServer when deciding the SpanStatus. This makes 4xx response codes to not be an error anymore. (#1973)
  • Fixed jaegerremote sampler not behaving properly with per operation strategy set. (#2137)
  • Stopped injecting propagation context into response headers in otelhttp. (#2180)

Release v1.6.0/v0.31.0

28 Mar 19:21
v1.6.0
5611141
Compare
Choose a tag to compare

Added

  • The project is now tested against Go 1.18 (in addition to the existing 1.16 and 1.17) (#1976)

Changed

  • Upgraded all dependencies on stable modules from go.opentelemetry.io/otel from v1.5.0 to v1.6.1. (#2134)
  • Upgraded all dependencies on metric modules from go.opentelemetry.io/otel from v0.27.0 to v0.28.0. (#1977)

Release v1.5.0/v0.30.0/v0.1.0

18 Mar 16:01
v1.5.0
add6caa
Compare
Choose a tag to compare

Added

  • Added the go.opentelemetry.io/contrib/samplers/jaegerremote package.
    This package implements the Jaeger remote sampler for OpenTelemetry Go. (#936)
  • DynamoDB spans created with the go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws package now have the appropriate database attributes added for the operation being performed.
    These attributes are detected automatically, but it is also now possible to provide a custom function to set attributes using WithAttributeSetter. (#1582)
  • Add resource detector for GCP cloud function. (#1584)
  • Add OpenTracing baggage extraction to the OpenTracing propagator in go.opentelemetry.io/contrib/propagators/ot. (#1880)

Fixed

  • Fix the echo middleware by using SpanKind.SERVER when deciding the SpanStatus.
    This makes 4xx response codes to not be an error anymore. (#1848)

Removed

  • The deprecated go.opentelemetry.io/contrib/exporters/metric/datadog module is removed. (#1920)
  • The deprecated go.opentelemetry.io/contrib/exporters/metric/dogstatsd module is removed. (#1920)
  • The deprecated go.opentelemetry.io/contrib/exporters/metric/cortex module is removed.
    Use the go.opentelemetry.io/otel/exporters/otlp/otlpmetric exporter as a replacement to send data to a collector which can then export with its PRW exporter. (#1920)

Release v1.4.0/v0.29.0

14 Feb 18:28
v1.4.0
c17e0db
Compare
Choose a tag to compare

Added

  • Add WithClientTrace option to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#875)

Changed

  • All metric instruments from the go.opentelemetry.io/contrib/instrumentation/runtime package have been renamed from runtime.go.* to process.runtime.go.* so as to comply with OpenTelemetry semantic conventions. (#1549)

Fixed

  • Change the http-server-duration instrument in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to record milliseconds instead of microseconds. This changes fixes the code to comply with the OpenTelemetry specification. (#1414, #1537)
  • Fixed the region reported by the "go.opentelemetry.io/contrib/detectors/gcp".CloudRun detector to comply with the OpenTelemetry specification. It no longer includes the project scoped region path, instead just the region. (#1546)
  • The "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp".Transport type now correctly handles protocol switching responses. The returned response body implements the io.ReadWriteCloser interface if the underlying one does. This ensures that protocol switching requests receive a response body that they can write to. (#1329, #1628)

Deprecated

  • The go.opentelemetry.io/contrib/exporters/metric/datadog module is deprecated. (#1639)
  • The go.opentelemetry.io/contrib/exporters/metric/dogstatsd module is deprecated. (#1639)
  • The go.opentelemetry.io/contrib/exporters/metric/cortex module is deprecated. Use the go.opentelemetry.io/otel/exporters/otlp/otlpmetric exporter as a replacement to send data to a collector which can then export with its PRW exporter. (#1639)

Removed

  • Remove the MinMaxSumCount from cortex and datadog exporter. (#1554)
  • The go.opentelemetry.io/contrib/exporters/metric/dogstatsd exporter no longer support exporting histogram or exact data points. (#1639)
  • The go.opentelemetry.io/contrib/exporters/metric/datadog exporter no longer support exporting exact data points. (#1639)

Release v1.3.0/v0.28.0

10 Dec 22:45
v1.3.0
aad3f90
Compare
Choose a tag to compare

⚠️ Notice ⚠️

We have updated the project minimum supported Go version to 1.16

Changed

  • otelhttptrace.NewClientTrace now uses TracerProvider from the parent context if one exists and none was set with WithTracerProvider (#874)

Fixed

  • The "go.opentelemetry.io/contrib/detector/aws/ecs".Detector no longer errors if not running in ECS. (#1428)
  • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux does not require instrumented HTTP handlers to call Write nor WriteHeader anymore. (#1443)

Release v1.2.0/v0.27.0

15 Nov 18:16
v1.2.0
a890add
Compare
Choose a tag to compare

Changed

  • Update dependency on the go.opentelemetry.io/otel project to v1.2.0.
  • go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig
    updated to ensure access to the TracerProvider.
    • A NewTracerProvider() function is available to construct a recommended
      TracerProvider configuration.
    • AllRecommendedOptions() has been renamed to WithRecommendedOptions()
      and takes a TracerProvider as an argument.
    • EventToCarrier() and Propagator() are now WithEventToCarrier() and
      WithPropagator() to reflect that they return Option implementations.