diff --git a/CHANGELOG.md b/CHANGELOG.md index b00f4e4d..84a05b9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,12 @@ ## [Unreleased] ### Add - Add `IMGPROXY_OPEN_TELEMETRY_GRPC_INSECURE` config. -- Better XMP data stripping. - (pro) Add XMP data to the `/info` response. +### Change +- Better XMP data stripping. +- Use parent-based OpenTelemetry sampler by default. + ## [3.10.0] - 2022-11-04 ### Add - Add `IMGPROXY_CLIENT_KEEP_ALIVE_TIMEOUT` config. diff --git a/metrics/otel/otel.go b/metrics/otel/otel.go index 896e3159..660297ae 100644 --- a/metrics/otel/otel.go +++ b/metrics/otel/otel.go @@ -105,7 +105,6 @@ func Init() error { tracerProvider = sdktrace.NewTracerProvider( sdktrace.WithResource(res), - sdktrace.WithSampler(sdktrace.AlwaysSample()), sdktrace.WithBatcher(traceExporter), sdktrace.WithIDGenerator(idg), )