Option to skip storing the raw User-Agent header
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- analytics
Research direction
Start by reading collectRequestHandler and the existing tests for how User-Agent data is parsed and stored in blob2. Add an opt-in setting that preserves the current default and writes an empty string to blob2 when enabled, while retaining the derived browser and device fields. Done looks like a test covering both setting values and a README note explaining the option.
Written by the indexing model from the issue text.
Description
Problem
collectRequestHandler stores the full User-Agent header in blob2 of every data point. In 3.4.1 no dashboard query reads blob2: the reports use the fields parsed at collection time (browser name, masked browser version, device type and model). For operators in the EU, keeping the full header for the three-month Analytics Engine retention is hard to justify under the GDPR data-minimisation principle.
Proposal
An opt-in setting (a variable that defaults to the current behaviour) that writes an empty string to blob2 while still parsing the header for the derived fields. The blob layout stays the same, so existing queries keep working.
Contribution
I can open a PR with the change, a test and a README note if this direction works for you.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from benvinegar/counterscale
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
benvinegar/counterscale#267 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
benvinegar/counterscale#257 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
benvinegar/counterscale#255 ·
-
[Bug]: Dashboard shows only data from default dataset, ignores custom analytics dataset configurationPossibly taken @rbonestell claimed this 152 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
benvinegar/counterscale#248 · 1 reaction ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
benvinegar/counterscale#245 · 1 reaction ·
All issues in benvinegar/counterscale
Similar issues
-
[Integration]: eRPCOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ava-labs/builders-hub#4826 ·
Maintainers usually reply within 1 day
-
记忆分析的默认模型显示与实际使用不一致Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
anomalyco/opencode#59886 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
a10y a10y-audit ai-driven-qa claude
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day