digidem / digidem/comapeo-core-react-native

Sentry: dashboards + monitors, ingest volume measurement, sample-rate tuning

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2 sentry
Dominant language
Kotlin
Stars
1
Forks
0
Avg merge
8h 24m
Merged PRs (30d)
9

Description

Part of #74. Needs #76 running in internal builds first. Mostly configuration in the Sentry project, plus one data-driven code decision.

Spec: docs/sentry-integration-plan.md §11.9 (dashboards + alerts), §11.2.c (volume budget), Phase 8.

Deliverables

  • Alerts: boot failure rate per release; unusual spikes in the app being killed; RPC slowness regressions on low-end devices; failures in our own telemetry forwarding (so a broken pipeline doesn't read as "no problems") (§11.9)
  • Dashboard widgets: boot time by phase and device class; slowest RPC methods; client-minus-server overhead as a query equation (not a new metric); backend memory + event-loop delay; low-memory-warning rate next to kill rate; sync duration by outcome (§11.9)
  • Measure how much metric data we actually send per day during internal rollout, against the §11.2.c estimate (~1 GB/month for one heavy-use device if we record everything — Sentry includes 5 GB/month)
  • If the estimate holds, turn on sampling for the per-RPC timing metrics before production (record 1 in N; counters stay at 100%). Designed as a one-line change (§11.2.c)
  • Tune error/trace sample rates from production data; revisit the device-class thresholds if they don't line up with observed slowness (Phase 8, §11.11)

Contributor guide

Open the contributing guide

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.

Research direction

Start with docs/sentry-integration-plan.md sections §11.2.c, §11.9, and §11.11, and confirm that #76 is running in internal builds. Configure the listed Sentry alerts and dashboard widgets, measure internal-rollout volume, then use the observed data to decide sampling and device-class thresholds. Done means the dashboards and alerts are active and the sampling decisions are documented and applied before production.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, react-native
Domain
analytics, observability-sre, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.