make it clear the diagnostic id is anonymized

This commit is contained in:
Graham Christensen 2023-06-26 10:56:25 -04:00
parent 9f79f712bb
commit e7eb22e45e
No known key found for this signature in database

View file

@ -12,8 +12,8 @@ Magix Nix Cache uses the GitHub Actions [built-in cache][ghacache] to share buil
1. Private: The cache is stored in the GitHub Actions cache, not with an additional third party. 1. Private: The cache is stored in the GitHub Actions cache, not with an additional third party.
> **Note:** the Magic Nix Cache doesn't offer a publically available cache. > **Note:** the Magic Nix Cache doesn't offer a publically available cache.
This means the cache is only usable in CI. > This means the cache is only usable in CI.
Zero to Nix has an article on binary caching if you want to [share Nix builds][z2ncache] with users outside of CI. > Zero to Nix has an article on binary caching if you want to [share Nix builds][z2ncache] with users outside of CI.
## Development ## Development
@ -28,7 +28,6 @@ nix copy --to 'http://127.0.0.1:3000' $(which bash)
nix-store --store $PWD/test-root --extra-substituters 'http://localhost:3000' --option require-sigs false -r $(which bash) nix-store --store $PWD/test-root --extra-substituters 'http://localhost:3000' --option require-sigs false -r $(which bash)
``` ```
## Telemetry ## Telemetry
The goal of Magic Nix Cache is to help teams save time in CI. The goal of Magic Nix Cache is to help teams save time in CI.
@ -37,8 +36,8 @@ The cache daemon collects a little bit of telemetry information to help us make
Here is a table of the [telemetry data we collect][telemetry]: Here is a table of the [telemetry data we collect][telemetry]:
| Field | Use | | Field | Use |
| -------------------------------- | ------------------------------------------------------------------------------------------------------ | | -------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `distinct_id` | An opaque string that represents your project, by sha256 hashing repository and organization details. | | `distinct_id` | An opaque string that represents your project, anonymized by sha256 hashing repository and organization details. |
| `version` | The version of Magic Nix Cache. | | `version` | The version of Magic Nix Cache. |
| `is_ci` | Whether the Magic Nix Cache is being used in CI (i.e.: GitHub Actions). | | `is_ci` | Whether the Magic Nix Cache is being used in CI (i.e.: GitHub Actions). |
| `elapsed_seconds` | How long the cache daemon was running. | | `elapsed_seconds` | How long the cache daemon was running. |