Skip to content

feat(telemetry): add otel analytics ingestion and export#83

Merged
tyulyukov merged 1 commit intomainfrom
marcode/otel-analytics
May 4, 2026
Merged

feat(telemetry): add otel analytics ingestion and export#83
tyulyukov merged 1 commit intomainfrom
marcode/otel-analytics

Conversation

@tyulyukov
Copy link
Copy Markdown
Owner

Summary

  • Add an OTEL trace ingest route in apps/landing that sanitizes incoming payloads, enforces size/rate limits, and forwards to the configured collector.
  • Add Jira-token-backed identity verification for Genesis users, including a proof header flow and cached verification for OTEL ingest.
  • Add server-side product analytics export for browser traces, enriched with user, app, and platform metadata before forwarding to the product analytics endpoint.
  • Record new analytics events for project, thread, provider, and git PR/MR activity, with config plumbing for MARCODE_PRODUCT_ANALYTICS_TRACES_URL and fallback routing.
  • Update landing copy and tracing-related web/server integrations to match the new analytics flow.

Testing

  • Not run (not requested).
  • Added new Vitest coverage for OTEL ingest sanitization, rate limiting, Genesis detection, and collector forwarding.
  • Updated server tests to cover the new analytics config shape and telemetry plumbing.

- add landing otel trace ingest with sanitization, jira proof, and rate limits
- forward product analytics traces from the server and tag key user events
- wire new telemetry config through server and landing tests
@tyulyukov tyulyukov merged commit 1cc2a7d into main May 4, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant