mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-10 18:15:36 +00:00
If the feature gate `KubeletTracing` is enabled, then we should default to a sample rate of 1 million per million, which will sample everything: https://github.com/open-telemetry/opentelemetry-go/blob/aa868d5/sdk/trace/sampling.go#L107-L110 This helps to easier spin-up a cluster with tracing enabled by exporting `FEATURE_GATES="KubeletTracing=true"`. Related docs: https://k8s.io/docs/concepts/cluster-administration/system-traces/#kubelet-traces Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
46 KiB
Executable File
46 KiB
Executable File