--- title: "Benchmark and diagnostics sharing" description: "The darkgrade telemetry commands: benchmark what your camera supports, and see, change or delete the diagnostics Darkgrade shares." url: https://darkgrade.com/docs/cli/telemetry last_updated: 2026-12-04 docs_index: https://darkgrade.com/docs/llms.txt --- # Benchmark and diagnostics sharing > The darkgrade telemetry commands: benchmark what your camera supports, and see, change or delete the diagnostics Darkgrade shares. > ## Documentation Index > Fetch the complete documentation index at: https://darkgrade.com/docs/llms.txt > Use this file to discover all available pages before exploring further. The Darkgrade CLI's `darkgrade telemetry` commands do two jobs. `benchmark` tests what your camera supports and saves the result as a profile. The rest show and change whether Darkgrade shares camera diagnostics. These docs call the feature diagnostics sharing; `telemetry` is the name of its command. Sharing starts on. Turn it off at any time with [`telemetry opt-out`](#turn-sharing-off-or-on). What is collected, and why, is in the [privacy policy](https://darkgrade.com/privacy). | Command | Does | | - | - | | [`telemetry benchmark`](#benchmark-your-camera) | Run every check on the attached camera | | [`telemetry status`](#see-the-sharing-preference) | Show the sharing preference | | [`telemetry opt-out`](#turn-sharing-off-or-on) | Stop sharing diagnostics | | [`telemetry opt-in`](#turn-sharing-off-or-on) | Share diagnostics | | [`telemetry delete`](#delete-what-was-shared) | Turn sharing off and delete what was shared | | [`telemetry whoami`](#your-diagnostic-id) | Print your diagnostic ID | | [`telemetry login`](#link-an-email) | Link an email to your contributions | | [`telemetry logout`](#link-an-email) | Remove the linked email | ## Benchmark your camera `benchmark` finds the attached camera and reads its identity, its storage and every property it can. Then it takes one photo and reads one live-view frame. ```bash npx darkgrade telemetry benchmark ``` ```text Benchmark complete: Sony Corporation ILCE-7M5, firmware 1.00 Properties read: 0/0 Photo: ok Live view: ok Profile saved: /Users/you/.darkgrade/profiles/….json Telemetry: uploaded ``` > [!WARNING] > > The photo can write a file to the camera's card. Nothing is formatted, deleted or reset. Pass `--no-photo` to skip it. | Flag | Does | | - | - | | `--no-photo` | Skip the photo | | `--no-live-view` | Skip the live-view frame | | `--camera VID:PID` | Use this camera; `DARKGRADE_CAMERA` does the same | | `--json` | Print the full result: every check, the profile, where it was saved and the upload's outcome | **Properties read** counts the properties read one at a time. A Sony reports all of its properties in a single read, so its line says `0/0`. When a check fails, the first line reads `Benchmark partial` and a **Failed checks** line names what failed. The profile is saved under `~/.darkgrade/profiles/` whether sharing is on or off. The last line says whether it was uploaded: `uploaded`, `not uploaded (sharing is off)`, `queued; will retry` or `not uploaded`. `benchmark` exits 0 when every check it ran passed, and 1 otherwise or when no camera is found. With several cameras attached it uses the only one from a camera brand it knows. Failing that, it asks which one on a terminal; in a script it lists them for `--camera` and exits 1. A passing benchmark shows that this camera answered each check today. A returned photo proves the transfer, not that the image decodes, and the benchmark does not try every setting. ## See the sharing preference `status` reads the saved preference without contacting the service. ```bash npx darkgrade telemetry status ``` ```text Sharing on Diagnostic ID 5652315f-4829-4742-b4b5-21fffd6be15f Settings /Users/you/.darkgrade Stop sharing with: darkgrade telemetry opt-out ``` Piped or with `--json`, it prints one JSON document: ```json {"installationId":"5652315f-4829-4742-b4b5-21fffd6be15f","sharing":true, "effectiveSharing":true,"configured":true,"deletionPending":false, "settings":"/Users/you/.darkgrade"} ``` | Field | Means | | - | - | | `installationId` | Your [diagnostic ID](#your-diagnostic-id) | | `sharing` | The saved preference | | `effectiveSharing` | Whether anything is shared right now: false when the preference is off, a deletion is pending, or an [environment variable](#stop-sharing-from-the-environment) stops it | | `configured` | Always `true` | | `deletionPending` | A deletion was requested and has not finished | | `settings` | The settings folder | | `contact` | With `--email` only: the linked address, or `null` | ## Turn sharing off or on ```bash npx darkgrade telemetry opt-out # Sharing disabled. npx darkgrade telemetry opt-in # Sharing enabled. ``` `opt-out` stops future uploads. Diagnostics are still written to the settings folder on this computer. `opt-in` turns sharing back on; after a deletion it starts a new identity. `opt-in` is refused while a deletion is still pending. ### Stop sharing from the environment `DARKGRADE_CONTRIBUTIONS=0` or `DO_NOT_TRACK=1` stops sharing whatever the saved preference, for one command or a whole machine: ```bash export DO_NOT_TRACK=1 ``` `status` then reports `"effectiveSharing":false`, and on a terminal `on, but stopped by DO_NOT_TRACK or DARKGRADE_CONTRIBUTIONS`. ## Delete what was shared `delete` turns sharing off first, then deletes what this installation shared. ```bash npx darkgrade telemetry delete ``` On a terminal it asks for confirmation; `--yes` (or `-y`) skips the question. In a script, or with `--no-input`, it does not ask and deletes straight away. It prints one of: - `Sharing is off. Cloud data deleted.` Done. - `Sharing is off. Deletion is pending.` The deletion could not finish. Run `delete` again to retry. - `Sharing is off. No cloud enrollment exists.` Nothing had been shared. ## Your diagnostic ID `whoami` prints the random ID that this installation's diagnostics are shared under. ```bash npx darkgrade telemetry whoami ``` Studio and the CLI share one settings folder, `~/.darkgrade`, so they share this ID and the sharing preference. Set `DARKGRADE_HOME` to use another folder. ## Link an email Linking an email identifies your contributions as yours. It is optional. Sharing must be on when you ask; otherwise `login` fails with `Turn on sharing to link an email`. #### 1. Ask for the link ```bash npx darkgrade telemetry login you@example.com ``` On a terminal, leave the address out and the command asks for it. `login` sends the request to the service, so it needs a network connection. #### 2. Open the email Open the confirmation link within 2 hours. It works once. #### 3. Check it ```bash npx darkgrade telemetry status --email ``` `--email` reads the linked address from the service, which is a network request. The address shows as not verified until you open the link. Logging in with a different address replaces the first once you confirm the new one; until then the first stays current. `logout` removes the linked email and leaves the sharing preference unchanged. ## Next > [card] [Install and setup](https://darkgrade.com/docs/cli/install.md) > > `doctor` > > , tab completion and the manual page. > [card] [Camera compatibility](https://darkgrade.com/docs/slate/getting_started/camera-compatibility.md) > > Which cameras work, and what each brand supports.