Releases: open-telemetry/opentelemetry-go-contrib
Releases · open-telemetry/opentelemetry-go-contrib
Release v0.36.1
Changed
- Upgrade dependencies of the OpenTelemetry Go Metric SDK to use the new
v0.32.1
release.
Release v0.36.0
Release v1.10.0/v0.35.0/v0.5.0
Release v1.9.0/v0.34.0/v0.4.0
Upgrades all go.opentelemetry.io/otel
dependencies to v1.9.0.
Added
- The
TextMapPropagator
function togo.opentelemetry.io/contrib/propagators/autoprop
. This function is used to return a compositeTextMapPropagator
from registered names (instead of having to specify with an environment variable). (#2593)
Changed
- Upgraded all
semconv
package use tov1.12.0
. (#2589)
Release v1.8.0/v0.33.0/v0.3.0
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 usingSpanKindServer
when deciding theSpanStatus
.
This makes4xx
response codes to not be an error anymore. (#2427)
Release v1.7.0/v0.32.0/v0.2.0
Added
Changed
- Upgraded all
semconv
package use tov1.10.0
. This includes a backwards incompatible change for theotelgocql
package to conform with the specification change. Thedb.cassandra.keyspace
attribute is now transmitted as thedb.name
attribute. (#2222)
Fixed
- Fix the
otelmux
middleware by usingSpanKindServer
when deciding theSpanStatus
. This makes4xx
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
Added
- The project is now tested against Go 1.18 (in addition to the existing 1.16 and 1.17) (#1976)
Changed
Release v1.5.0/v0.30.0/v0.1.0
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 usingWithAttributeSetter
. (#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 usingSpanKind.SERVER
when deciding theSpanStatus
.
This makes4xx
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 thego.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
Added
- Add
WithClientTrace
option togo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
. (#875)
Changed
- All metric instruments from the
go.opentelemetry.io/contrib/instrumentation/runtime
package have been renamed fromruntime.go.*
toprocess.runtime.go.*
so as to comply with OpenTelemetry semantic conventions. (#1549)
Fixed
- Change the
http-server-duration
instrument ingo.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 theio.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
⚠️ Notice ⚠️
We have updated the project minimum supported Go version to 1.16
Changed
otelhttptrace.NewClientTrace
now usesTracerProvider
from the parent context if one exists and none was set withWithTracerProvider
(#874)