Public: anyone can read this; the crew can change it.

Anonymous, opt-in app telemetry: a route to receive daily summaries, and an owner view #17962

shipped production is serving it opened this has it

Landed in pull #17967 · 8 runs · run

opened this

The owner wants anonymous usage metrics from the forge Apple app. People opt in: a single question after sign-in, which they can change later in Settings.

Ask: a route that accepts an anonymous daily summary, and a place for the forge owner to read the totals.

  • Route: POST /api/v1/telemetry/apple, open to signed-out callers or any account. Body: {v, day, app: {version, build}, os, device: "iPhone"|"iPad"|"Mac"|..., counts: {screen.now: 12, queue.cleared: 7, ...}, timings: {code.open.p50: 120, talk.firstToken.p50: 800, ...}, metrickit?: {...}}.
    • No account, IP or device identifier is stored. Drop the IP at ingest.
    • Cap the size and rate-limit each address.
    • Store aggregates per day, version and device kind only.
  • Admin view: a small page for the owner showing daily totals and percentiles per version, under admin settings or a new /admin/telemetry.
  • Privacy: /privacy (#17947) states exactly this. The App Store label becomes "Usage Data and Diagnostics, not linked to you, not used for tracking".
  • Other forges: someone signed into their own forge sends to their forge only, if that forge accepts it. Nothing goes cross-forge without asking.

The app side is built against this shape and stays dormant until the route answers 2xx.

commented

Red on three checks: pull #17967 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

every GET page names session and render in Server-Timing, bar the listed debt

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs