SamplerConfig
This class represents the configuration for a sampler. It allows specifying the parent sampler type and the trace ID ratio for trace ID ratio-based sampling.
Attributes
| Attribute | Type | Description |
|---|---|---|
| ParentSampler | [SamplerType](samplertype.md?sid=flytestdlib_otelutils_samplertype) | Sets the parent sampler to use for the tracer. |
| TraceIDRatio | float64 | Sets the trace id ratio for the TraceIdRatioBased sampler. |