See and change Claude Code's telemetry settings
To see what Claude Code is set to send, open Telemetry Radar from the stripe on the right in ccdeck and click Configuration: it lists the telemetry destinations and flags in Claude Code's settings files, and on Linux in running sessions' launch environments.
You will
- See which telemetry flags and destinations Claude Code’s settings set
- Switch a flag for new sessions
- Watch what reaches your collector, and know what Radar cannot see
Before you start
- ccdeck running, in your browser or the desktop app:
npx ccdeck. - Claude Code on the same machine: Radar reads its settings and watches its connections.
Steps
-
Open Telemetry Radar
Click Radar, the last door on the stripe on the right, under Browser watch, for Telemetry Radar. It has no key. On a phone, it is under More in the dock along the bottom.
Demo data Radar, the last door, opens Telemetry Radar. -
Read what Claude Code is set to send
Click Configuration. Destinations lists where the export goes. Under Telemetry and content, each flag has its name, its variable and where it is set: a settings file, “Not in any settings file”, or, on Linux, a running session’s launch environment.
Demo data On Linux: your settings leave prompts unset, but one running session was started with them on. What Radar read was supplied to the page for this picture. Settings and running sessions can differ. On Linux, Radar also shows the telemetry variables each running session started with, read-only: change them where it is launched. On macOS and Windows it reads only the settings files. “No destination found” does not mean telemetry is off.
More about what Radar reads
- The
envblock of~/.claude/settings.json(underCLAUDE_CONFIG_DIRwhen set), ofremote-settings.jsonbeside it, and ofmanaged-settings.jsonin/Library/Application Support/ClaudeCode/,/etc/claude-code/orC:\Program Files\ClaudeCode\. Not a project’s.claude/settings.json. - Running Claude Code processes. On Linux, that includes one started from its versioned install folder, and Radar reads each one’s connections, folder and launch environment. It cannot read another user’s, and says how many it could not inspect. A connection still waiting for an answer reads “Connecting · no reply yet”.
- macOS shows connections and folders; Windows, connections only.
- Radar never reads a command line, and keeps no other variable, credentials included.
- Destinations show without their path, and headers as “Configured (hidden)”.
- With no destination set, Radar lists the connections Claude Code has open. A connection is not telemetry.
- The
-
Switch a flag for new sessions
Click the switch beside the flag. Radar writes
"1"or"0"for it underenvin~/.claude/settings.jsonand says Saved to user settings. Sessions already running keep the value they started with.A flag no settings file sets shows Not set, with its switch off: switching it on adds it. A flag your organization or managed settings set shows Managed beside a locked switch: only an administrator can change it.
Switching off writes “0”, and it outlasts ccdeck.
npx ccdeck --uninstallleaves it in place. To remove it, editenvin the file. -
Allow packet capture, once
Click Monitor. Radar finds Claude Code’s collector and listens to it by itself, for as long as ccdeck runs. If it shows Allow packet capture once, click Allow capture… and type your password when asked.
Demo data On Linux, before capture was allowed. What Radar read was supplied to the page for this picture. What Allow capture changes outlasts ccdeck. On macOS it adds a ccdeck helper that runs at every startup, and puts your user in the
access_bpfgroup. On Linux it installstcpdumpif it is missing, gives it capture rights, and lets only your group run it. Uninstall ccdeck and remove its Claude Code hook says how to undo it.More about how Radar finds the collector
- It takes the collector from Claude Code’s settings and, on Linux, from a running session’s launch environment; one named by host is looked up. With none set, it uses the collectors it found before and any Claude Code connection to port 4317.
- It listens to up to eight, and looks again every five seconds while the dialog is open, about once a minute while it is closed.
- A Mac with Wireshark’s ChmodBPF set up needs no card. On Windows, the card links to Wireshark instead: install it with Npcap, not limited to administrators.
- Where no password prompt can open, such as over SSH, Allow capture… shows a
sudocommand to run in a terminal instead. - Only the collectors are saved, in
~/.agents-deck/radar-monitor-<port>.jsonandradar-settings-<port>.json; never packets or messages. - A deck started with
AGENTS_DECK_NO_RADAR=1neither looks nor captures.
-
Read a message
Each export Radar decodes is a row: its event or metric name, the session it came from, and whether the collector accepted it. Click a row. Overview shows what it holds; JSON, the decoded export.
Open the full-size picture
Demo data 192.0.2.16 is an address reserved for examples.
Demo data With Your prompts on, the prompt’s text is in the export. An empty list does not mean telemetry is off, and a connection is not a sent message.
More about what Radar cannot show
- Anything but plaintext OTLP over gRPC to an IPv4 address: an HTTPS export shows only as a connection.
- Which program sent it: Radar filters by address, so another app sending there shows too.
- Claude Code’s requests to the model, and Anthropic’s own telemetry.
-
Clear what was captured
What Radar decoded stays in ccdeck’s memory for 24 hours at most, never written to a file or sent anywhere. To remove it now, open Filters and history, click Clear history, then Confirm clear history. Monitoring goes on. Restarting ccdeck removes it too.
If something goes wrong
Radar says Capture setup needed
No capture tool is installed. On Linux, click Allow capture…: it installs tcpdump too. On Windows, click Get Wireshark and install it with Npcap.
Radar says Capture permission needed
Click Allow capture… on the card under it. On Linux, a tcpdump update takes the permission away, and Radar asks again.
Monitoring, and nothing appears
Start a new Claude Code session: Radar decodes only connections that open while it listens, and flags apply to new sessions. If a row says Encrypted contents, the export uses TLS and cannot be read here.
Radar says Waiting for a collector…
Claude Code’s settings name no collector, and no session sends to port 4317. Set your collector’s address as OTEL_EXPORTER_OTLP_ENDPOINT under env in ~/.claude/settings.json. An IPv6 address cannot be monitored.
A flag I switched is still set after uninstalling ccdeck
npx ccdeck --uninstall leaves Radar’s flags in ~/.claude/settings.json: edit them under env yourself.
Something else? See Troubleshoot ccdeck: status, logs, port and hooks.