> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose whether to send a daily usage report

> See the exact usage report F[no] can send, turn it on or off with fno doctor telemetry, and check what it sent.

> Read the exact report before you decide. Turn the report on or off. Check its state, and read each report it sent.

F\[no] can send its maintainers one usage report a day. It sends nothing until you say yes at a terminal. The report holds counts and identifiers only. It never holds a prompt, code, a path, a title, a hostname or free text.

`fno doctor telemetry` controls the report. It has four actions: `status`, `show`, `on` and `off`.

## Before you begin

* You installed F\[no]. See [Install and verify](/docs/install.md).
* A terminal that you type in. An agent cannot turn the report on for you.
* Optional: `jq`, to print the report in a readable form in step 2.

> **Note:** This page covers F\[no] 0.4.9. To check your build, run `fno doctor telemetry status`. If it prints a line that starts with `usage report:`, your build has the report.

## Decide on the report

1. Check the current state:

   ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
   fno doctor telemetry status
   ```

   On a new install, nobody answered yet:

   ```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
   usage report: off - no answer yet (run `fno doctor telemetry on`)
   see what it sends: fno doctor telemetry show; docs: https://github.com/fnodotdev/fno/blob/main/docs/telemetry.md
   ```

2. Read the exact report the next send posts. This command sends nothing:

   ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
   fno doctor telemetry show 2>/dev/null | jq .
   ```

   `show` writes the report body to stdout. On stderr it writes two notes: the folder that keeps sent reports, and every event kind the report counts. `2>/dev/null` hides the notes. Without `jq`, run `fno doctor telemetry show` and read the body as one line.

   ![The report body from fno doctor telemetry show on a new install, with empty counts](https://mintcdn.com/fno/lcGJ5yOUrAer-phN/images/usage-report-show.png?fit=max\&auto=format\&n=lcGJ5yOUrAer-phN\&q=85\&s=b9b199c2785f5ef53bc06c292b8293f9)

   This shot comes from a new install, so `events`, `harness` and `model` are empty. On your machine they hold counts. The build came from fno main before the 0.4.9 tag, so `fno_version` reads `0.4.8`. `api_key` reads `<no key>` in a build that cannot send. An official release build shows its public PostHog project key there. That key is part of every release build, not a secret of yours.

3. Give your answer. To say yes, run `on`:

   ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
   fno doctor telemetry on
   ```

   `on` prints the same report, then asks `Send this report once a day? [y/N]`. Type `y` or `yes` and press Enter. Any other answer, an empty one included, records nothing and keeps your earlier answer. In a build with no key, `on` also prints `This build carries no key, so it never sends, even with a yes.` A yes prints:

   ```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
   usage report: on; turn it off with `fno doctor telemetry off`
   ```

   To say no, run `off`:

   ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
   fno doctor telemetry off
   ```

   ```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
   usage report: off; nothing is sent
   ```

4. Run `fno doctor telemetry status` again. The first line shows your answer:

   | Your answer | First line of `status` |
   | - | - |
   | Yes | `usage report: on; next send covers <day>` |
   | No | `usage report: off - you answered no` |
   | Yes, in a build with no key | `usage report: off - this build carries no key (only official releases send)` |

The setup wizard asks the same question: `Send fno a daily usage report?`. Its default is no. A yes in the wizard records nothing. It gives you `fno doctor telemetry on` as your next step, so you read the report before you answer.

## Why `on` refuses

`on` needs a person at a terminal. In each of these cases, it refuses with exit code 2 and records nothing:

* stdin or stderr is not a terminal, for example in a script or a pipe
* `CI` has a value that is not empty
* the shell belongs to an agent harness: `CLAUDECODE`, `CODEX_THREAD_ID` or `FNO_AGENT_SELF` has a value that is not empty

The refusal reads:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
usage report: consent needs a person at a terminal; nothing recorded
```

`off` has no such limit. It works from any shell, a script included.

![fno doctor telemetry status, a refused on, off, and status with DO\_NOT\_TRACK set](https://mintcdn.com/fno/sUKnmYNG7w2UxGhf/images/usage-report-status.png?fit=max\&auto=format\&n=sUKnmYNG7w2UxGhf\&q=85\&s=e4797a75f7e3911ee352773c3735b471)

## Turn the report off with a setting

Each of these stops every send, whatever answer you recorded:

| Setting | Effect |
| - | - |
| `DO_NOT_TRACK=1` or `DO_NOT_TRACK=true` | Stops the report. `OTEL_SDK_DISABLED` takes the same values. |
| `CI` set to a value that is not empty | Stops the report. |
| `fno config set telemetry.usage_report.enabled false` | Stops the report until you set it to `true` again. |

`telemetry.usage_report.enabled` can only turn the report off. Its default is `true`, and `true` sends nothing without your yes. No setting turns the report on. Only a yes at `fno doctor telemetry on` does.

## Check what F\[no] sent

F\[no] keeps the exact body of each report it sent. The files are in `otlp_export/usage_report/sent/` in the agents home, one per day, named `<day>.json`. The agents home is `~/.fno/agents` unless `FNO_AGENTS_HOME` names another folder. F\[no] keeps the last 30 files.

Your answer is in `consent.json` in the `usage_report` folder. Only `fno doctor telemetry on` and `off` write that file.

## How it works

The F\[no] daemon checks once an hour. The report covers the last complete UTC day. If that day has no file in `sent/`, the daemon sends the report to PostHog, a third-party analytics service, and writes the file. The daemon sends only the day before today. If the daemon does not run on a day, that day never sends.

Before each send, F\[no] checks these gates in this order. The first gate that holds stops the send, and `status` names it:

1. `DO_NOT_TRACK` or `OTEL_SDK_DISABLED` is `1` or `true`.
2. `CI` has a value that is not empty.
3. `telemetry.usage_report.enabled` is `false`.
4. You did not answer, or you answered no.
5. Your yes was for an older report schema.
6. The build has no key.

Only official release builds have the key. A build from source or from crates.io never sends, even after a yes.

Gate 5 is for a later release that adds a field to the report. Your old yes does not cover the new field. The report stops, and `on` asks you again.

## What the report holds

One `fno_usage_report` event for each UTC day, at schema 1:

| Field | Holds |
| - | - |
| `schema` | The report schema number. |
| `day` | The UTC day that the counts cover. |
| `install_id` | 16 random bytes as hex. F\[no] makes it once for each machine, from nothing about you. It is in `~/.fno/install/fno_install_seen.id`. |
| `fno_version` | The fno-agents version. |
| `channel` | How you installed F\[no], from `~/.fno/install/channel`. `other` when that file is empty or missing. |
| `os`, `arch` | The operating system and the CPU architecture. |
| `events` | Counts of journal rows for each allowed event kind. |
| `harness` | Counts of those rows for each harness name. |
| `model` | Counts of those rows for each model name. |

A harness or model name must be one identifier: letters, digits and `-_.:/`, 128 characters at most. F\[no] drops any other value.

The event around these fields holds four more values. `uuid` is the event id. `timestamp` is the last second of the day. `distinct_id` is `install:` and the install id. `$process_person_profile: false` tells PostHog to make no person profile. A journal row is one line that F\[no] writes to its local event log, such as one agent spawn.

To see the list of event kinds that the report counts, run `fno doctor telemetry show` and read the second line on stderr.

## Limitations

### The report cannot go to a server you choose

The report goes to one fixed PostHog address. If you do not want it to go there, answer no or use one of the settings in [Turn the report off with a setting](#turn-the-report-off-with-a-setting).

### F\[no] 0.4.8 had a different install count

F\[no] 0.4.8 had an install count at session start, behind the `telemetry.install_count` key. Without a PostHog token on the machine, it sent nothing. F\[no] 0.4.9 removes it. The `telemetry.usage_report` key replaces that key.

## Next steps

* [Configuration reference](/docs/reference/configuration.md): the other config keys, with the eval events telemetry.
* [Install and verify](/docs/install.md): install or update F\[no].


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.