問題文
A team expects traces to be sampled at 10 percent but every trace arrives. The sampler variable is set to the ratio-based value and the argument variable is not set. Why?
選択肢
- The default probability is 1.0 when the argument is unset, so nothing is filtered out.
- The ratio-based sampler ignores its argument unless the parent-based variant is used, which is why the value has to be given to the parent-based sampler instead.
- The sampler variable name was wrong, so the default parent-based sampler applied and kept each trace it saw.
- The Collector overrode the sampling decision, and a tail sampler in the pipeline replaces whatever the SDK decided.