Skip to content

feat(telemetry): add OTLP export writer#961

Open
EhabY wants to merge 1 commit into
feat/issue-903-export-telemetry-json-writerfrom
feat/issue-903-export-telemetry-otlp-writer
Open

feat(telemetry): add OTLP export writer#961
EhabY wants to merge 1 commit into
feat/issue-903-export-telemetry-json-writerfrom
feat/issue-903-export-telemetry-otlp-writer

Conversation

@EhabY
Copy link
Copy Markdown
Collaborator

@EhabY EhabY commented May 17, 2026

Summary

  • add OTLP/JSON mapping for telemetry logs, spans, and metric-shaped events
  • add .otlp.zip export writing with POST-ready logs.json, traces.json, and metrics.json
  • extend writer tests to cover signal routing and OTLP zip contents

Refs #903.

Stack: 3 / 4. Base: #960. Next: #953.

Review follow-up

  • exports spans as internal spans instead of unspecified spans
  • includes window start timestamps for HTTP percentile gauges
  • closes partially opened OTLP writers when setup fails
  • drains queued zip writes before closing file handles on error paths

Validation

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

Generated by Coder Agents.

@EhabY EhabY self-assigned this May 17, 2026
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-json-writer branch from 199d2e7 to 3a29ac9 Compare May 17, 2026 19:42
@EhabY EhabY force-pushed the feat/issue-903-export-telemetry-otlp-writer branch from ab7dcf4 to acadd7e 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