Skip to content

Preserve mailroom metrics privacy#1754

Draft
DanGould wants to merge 3 commits into
payjoin:masterfrom
DanGould:mailroom-metrics-privacy
Draft

Preserve mailroom metrics privacy#1754
DanGould wants to merge 3 commits into
payjoin:masterfrom
DanGould:mailroom-metrics-privacy

Conversation

@DanGould

@DanGould DanGould commented Jul 21, 2026

Copy link
Copy Markdown
Member

Claude ~slop I don't want to lose & want to pin. Will self-review & request explicit review thereafter.

Pull Request Checklist

Please confirm the following before requesting review:

DanGould added 3 commits July 20, 2026 15:52
Precise counters remain local. Exporting only suppressed and quantized
counts from completed fixed UTC weeks prevents live probing and daily
differencing.
Use a Foundation-issued opaque reporter ID, not a domain.
Metric points carry no attributes. Retry each frozen weekly aggregate
daily to improve delivery resilience.
Explain the export boundary, configuration, and separation of Grafana
access control from future collector aggregation so operators can assess
the privacy tradeoff before opting in.
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 29818970076

Coverage increased (+0.07%) to 86.371%

Details

  • Coverage increased (+0.07%) from the base build.
  • Patch coverage: 35 uncovered changes across 4 files (260 of 295 lines covered, 88.14%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
payjoin-mailroom/src/lib.rs 14 0 0.0%
payjoin-mailroom/src/main.rs 11 0 0.0%
payjoin-mailroom/src/config.rs 9 0 0.0%
payjoin-mailroom/src/metrics.rs 242 241 99.59%
Total (5 files) 295 260 88.14%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 16281
Covered Lines: 14062
Line Coverage: 86.37%
Coverage Strength: 339.34 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants