Skip to content

feat: telemetry events store and API#222

Merged
vigneshrajsb merged 5 commits into
mainfrom
feat/cli-telemetry
Jul 5, 2026
Merged

feat: telemetry events store and API#222
vigneshrajsb merged 5 commits into
mainfrom
feat/cli-telemetry

Conversation

@vigneshrajsb

Copy link
Copy Markdown
Contributor

Adds a source-generic telemetry_events table (source: cli | ui) with two authenticated v2 endpoints:

  • POST /api/v2/telemetry/events — strictly validated ingest; no user identity is read or stored (anonymous clientId only)
  • GET /api/v2/telemetry/stats?source=&from=&to=&interval= — SQL aggregates: usage over time, top events with error rate and p50/p95 duration, active clients, version/platform breakdown

Consumed by the CLI (GoodRxOSS/lifecycle-cli#5) and a UI analytics dashboard to follow. UI telemetry can reuse the table later with no migration.

@vigneshrajsb vigneshrajsb marked this pull request as ready for review July 2, 2026 18:41
@vigneshrajsb vigneshrajsb requested a review from a team as a code owner July 2, 2026 18:41
@vigneshrajsb vigneshrajsb merged commit 1cc58fe into main Jul 5, 2026
1 check passed
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.

1 participant