Follow the Do Not Track pattern to opt out of telemetry

Open Beginner friendly
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli, observability

Research direction

Start by reading the CLI telemetry option and the code that reads EMULATOR_TELEMETRY; the issue does not name specific files, so search the repository for those terms. Check how telemetry settings are documented and tested. Done means DO_NOT_TRACK=1 disables telemetry, existing opt-out options still work, and the documentation explains the new variable.

Written by the indexing model from the issue text.

Description

Before you file
  • I searched open and recently closed issues and found no request for this.
  • I checked that the latest version of the emulator doesn't already do this.
Use case

According to the documentation, opting out of telemetry requires using the CLI flag --telemetry off and/or setting the EMULATOR_TELEMETRY=off environment variable.

That's fine, but there's an effort to standardize on this behavior called Do Not Track.

My proposal would be to endorse this pattern, which would mean:

  • Keeping the existing behavior.
  • Adding support for the environment variable DO_NOT_TRACK which, if set to 1, would have the same effect as the above, disabling telemetry.
  • Updating the documentation accordingly.
What would help

It would allow users to set telemetry off by default, on CLIs that follow the standard, by exporting a standardized environment variable.

Other information

No response

Emulator version

Dominant language
Rust
Stars
2.2k
Forks
44
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-emulator

All issues in aws/aws-emulator

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.