{"version":"2.0.54","anchor":"telemetry-event-sampling","canonical_anchor":"telemetry-event-sampling","heading":"Telemetry Event Sampling","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.54\/e\/telemetry-event-sampling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.54","markdown":"### Telemetry Event Sampling\n\n**What:** Probabilistic sampling mechanism that reduces telemetry overhead by logging only a configurable fraction of events.\n\n**Details:**\n\n- Sampling rates configured via Statsig dynamic config `tengu_event_sampling_config`\n- Per-event sample rates between 0 and 1 (0% to 100%)\n- When sampled, events include `sample_rate` metadata for statistical reconstruction\n- Events with `sample_rate: 0` are completely dropped\n- **Evidence**: `lg1()` at line 231903, `ZD6()` at line 231900, modified `ZA()` at line 507257\n\n- Flag `tengu_event_sampling_config`: Not enough to say (read for one account on one subscription tier against v2.0.54; this account: no value returned, anonymous baseline: no value returned, compiled default: no gate table built for this version) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release."}