Skip to content

v0.27.69

Choose a tag to compare

@zalando-robot zalando-robot released this 24 Aug 15:23
4afab9c

Changes

otel: support configuring the TracerProvider Sampler (#4208)

Without trace.WithSampler(...), the SDK defaults to
ParentBased(AlwaysSample), which respects an upstream trace's sampled
flag. Once one hop marks a trace as not sampled, skipper stops sampling
its own spans and stops propagating sampled=1 downstream, letting an
upstream decision cascade through the rest of the chain.

Add Options.Sampler / Options.SamplerArg (yaml: sampler / samplerArg),
mirroring OTEL_TRACES_SAMPLER / OTEL_TRACES_SAMPLER_ARG. Setting
sampler: always_on makes skipper always record and always propagate
sampled=1 regardless of the incoming trace context. Empty Sampler
preserves current behavior (backward compatible).

Multiarch Docker image

Multiarch Docker image is available in GitHub's docker registry:

docker run -it ghcr.io/zalando/skipper:v0.27.69 skipper --help