What: Probabilistic sampling mechanism that reduces telemetry overhead by logging only a configurable fraction of events.
Details:
- Sampling rates configured via Statsig dynamic config
tengu_event_sampling_config - Per-event sample rates between 0 and 1 (0% to 100%)
- When sampled, events include
sample_ratemetadata for statistical reconstruction - Events with
sample_rate: 0are completely dropped - Evidence:
lg1()at line 231903,ZD6()at line 231900, modifiedZA()at line 507257
Feature flag
tengu_event_sampling_config Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.0.54: 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.
Read once, for one account on one subscription tier, against v2.0.54. It isn't a statement about your account. What a flag value here can and cannot tell you
Flag reading moved
The flag server now returns {"tengu_api_after_normalize":{"sample_rate":0},"tengu_api_before_normalize":{"sample_rate":0},"tengu_api_cache_breakpoints":{"sample_rate":0.01},"tengu_plugin_name_collision":{"sample_rate":0.01},"tengu_query_after_attachments":{"sample_rate":0},"tengu_query_before_attachments":{"sample_rate":0},"tengu_session_file_read":{"sample_rate":0.01},"tengu_skill_file_changed":{"sample_rate":0},"tengu_sysprompt_block":{"sample_rate":0.01},"tengu_sysprompt_boundary_found":{"sample_rate":0.01},"tengu_sysprompt_missing_boundary_marker":{"sample_rate":0.01}} for tengu_event_sampling_config, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns {"tengu_plugin_name_collision":{"sample_rate":0.01},"tengu_session_file_read":{"sample_rate":0.01},"tengu_skill_file_changed":{"sample_rate":0}} for tengu_event_sampling_config, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved
The flag server now returns nothing at all, having stopped carrying it for tengu_event_sampling_config, read as this account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.