{"name":"tengu_event_sampling_config","slug":"tengu-event-sampling-config","family":"flag","title":"Feature flags","noun":"feature flag","description":"Default `{}`. A per-event sampling table for Claude Code's own analytics events, keyed by event name. When an event's entry has a numeric `sample_rate` between `0` and `1`, a rate of `0` drops the event, a rate below `1` keeps it with that probability and adds `sample_rate` to the logged fields, and a rate of `1` logs it normally; a missing entry or an invalid rate also logs normally.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.0.54","anchor":"telemetry-event-sampling","heading":"Telemetry Event Sampling","line":null,"released_at":"2025-11-25 23:52:47","reason":"gate cited by this entry, found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[{"version":"2.0.54","state":"unknown","account":null,"baseline":null,"code_default":null}],"related":[{"name":"tengu_event_loop_stall","slug":"tengu-event-loop-stall","description":"The event-loop stall detector was rewritten as a class with identical behaviour."},{"name":"tengu_event_watchdog_default_on","slug":"tengu-event-watchdog-default-on","description":null},{"name":"tengu_eventual_haven","slug":"tengu-eventual-haven","description":"After a folder on your computer is attached to a remote session, Claude Code now waits for that computer to announce itself before reporting which tools are available"},{"name":"tengu_eventual_noodle","slug":"tengu-eventual-noodle","description":"Claude Code can reorder MCP tool results so text comes after other content, off unless switched on remotely"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/flag\/tengu-event-sampling-config","family_url":"https:\/\/changelogs.core-directive.com\/reference\/flag.json"}