pub struct Options {
pub include_hot_paths: bool,
pub min_invocations_for_hot: Option<u64>,
pub min_observation_volume: Option<u32>,
pub low_traffic_threshold: Option<f64>,
pub trace_count: Option<u64>,
pub period_days: Option<u32>,
pub deployments_seen: Option<u32>,
}Expand description
Runtime knobs. All fields are optional so new options can be added without a breaking change.
Fields§
§include_hot_paths: bool§min_invocations_for_hot: Option<u64>§min_observation_volume: Option<u32>Minimum total trace volume before safe_to_delete / review_required
verdicts are allowed at high/very-high confidence. Below this the
sidecar caps confidence at Confidence::Medium. Spec default 5000.
low_traffic_threshold: Option<f64>Fraction of total trace_count below which an invoked function is
classified as Verdict::LowTraffic instead of active. Spec default
0.001 (0.1%).
trace_count: Option<u64>Total number of traces / request-equivalents the coverage dump covers.
Used as the denominator for the low-traffic ratio and gates the
minimum-observation-volume cap. When None the sidecar falls back to
the sum of observed invocations in the current request.
period_days: Option<u32>Number of days of observation the coverage dump represents. Surfaced
verbatim in Summary::period_days and Evidence::observation_days.
deployments_seen: Option<u32>Number of distinct production deployments that contributed coverage.
Surfaced verbatim in Summary::deployments_seen and
Evidence::deployments_observed.