@@ -77,55 +77,6 @@ in the policy explicitly.
7777
7878Full workflow and examples: see [ ` MASKING-TUTORIAL.md ` ] ( MASKING-TUTORIAL.md ) .
7979
80- ## Telemetry
81-
82- DryRun sends telemetry from the ** MCP server only** . The CLI, capture,
83- and snapshot commands send nothing.
84-
85- The MCP server emits two events per session: a ` dryrun_start ` when an
86- agent connects, and a ` dryrun_summary ` when the session ends. No
87- snapshot contents, no DDLs, no SQL text, no database identifiers, no column or
88- table names.
89-
90- Example ` dryrun_start ` payload:
91-
92- ``` json
93- {
94- "event" : " dryrun_start" ,
95- "session_id" : " 00000000-0000-0000-0000-000000000001" ,
96- "app_version" : " 0.8.0" ,
97- "timestamp" : " 2026-05-25T21:00:00Z" ,
98- "transport" : " stdio" ,
99- "schema_loaded" : true ,
100- "table_count" : 12 ,
101- "planner_loaded" : true ,
102- "activity_nodes" : 4
103- }
104- ```
105-
106- ` dryrun_summary ` adds session duration and a ` {tool_name: count} ` map
107- of which MCP tools the agent invoked. Tool names are the built-in
108- DryRun tool identifiers, not anything the agent typed.
109-
110- ** Opt out** by setting either of these in the MCP server's
111- environment:
112-
113- ``` sh
114- export DO_NOT_TRACK=1 # industry-standard, also honored
115- export DRYRUN_TELEMETRY=off # dryrun-specific
116- ```
117-
118- Or persist it in ` dryrun.toml ` :
119-
120- ``` toml
121- [telemetry ]
122- enabled = false
123- ```
124-
125- Any of these disables the endpoint entirely. No event leaves the
126- process. The env var wins over the config file, so CI runs can stay
127- silent without editing checked-in TOML.
128-
12980## Related documents
13081
13182- [ ` MASKING-TUTORIAL.md ` ] ( MASKING-TUTORIAL.md ) : masking policy
0 commit comments