# Count the cloud work each install asks for, anonymously · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/b67c727d9f168c2232cf3db08246a4946b1a5218)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: b67c727d9f168c2232cf3db08246a4946b1a5218

Requested commit: b67c727d9f168c2232cf3db08246a4946b1a5218

Commit: b67c727d9f168c2232cf3db08246a4946b1a5218

Tree: 3b010372f46eb35f0bb3caf5e7180fedc575101e

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Count the cloud work each install asks for, anonymously

Convex bills the database bytes each call reads. The cost harness measures
what each action reads; what's missing is how often real users take those
actions. CloudUsageMeter counts edit batches and ops sent, pages watched
and their size, and offline-copy passes, full reads and rows read, and
sends them as one anonymous cloud_usage event at most every 30 minutes
through the existing AnalyticsService (no ids, names or content; off when
analytics is off). Unreported counts are kept in the analytics box and sent
on the next start, so short sessions aren't lost.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [2e48627878371d72419939e23bc97a84ea2d348f](https://git.cafe/dara/icarus/commit/2e48627878371d72419939e23bc97a84ea2d348f?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/b67c727d9f168c2232cf3db08246a4946b1a5218?format=markdown)
