Skip to content

feat(telemetry): add export event reader#959

Open
EhabY wants to merge 1 commit into
mainfrom
feat/issue-903-export-telemetry-core
Open

feat(telemetry): add export event reader#959
EhabY wants to merge 1 commit into
mainfrom
feat/issue-903-export-telemetry-core

Conversation

@EhabY
Copy link
Copy Markdown
Collaborator

@EhabY EhabY commented May 17, 2026

Summary

  • add telemetry export range helpers for preset and custom UTC date ranges
  • add filename-based telemetry JSONL discovery and streaming event reader
  • validate stored telemetry JSONL with Zod and convert it to the exporter event shape

Refs #903.

Stack: 1 / 4. Next: #960.

Review follow-up

  • validates stored timestamps with z.iso.datetime({ offset: true })
  • conservatively includes the day after a selected range so buffered events flushed after UTC midnight are not missed
  • keeps exact filtering at the per-event timestamp level
  • removes unused duplicate stored-event types

Validation

  • pnpm test:extension ./test/unit/telemetry/export/range.test.ts ./test/unit/telemetry/export/files.test.ts
  • pnpm typecheck
  • pnpm lint
  • pnpm format:check

Generated by Coder Agents.

@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-core branch from 9d7d4ce to 3c02990 Compare May 17, 2026 19:42
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