[Migration #121.5] Implement core OpenTelemetry infrastructure #312

Closed
opened 2026-02-04 02:35:58 +00:00 by jason.woltje · 0 comments
Owner

Parent EPIC: #121 - Backend Migration from Jarvis r1
Phase: 3 - OpenTelemetry Infrastructure
Estimate: 2 days

Description

Migrate OpenTelemetry SDK configuration with OTLP exporter for distributed tracing.

Source Files

  • jarvis/core/telemetry.py

Target Implementation

  • Create apps/api/src/telemetry/ module
  • Implement OTLP exporter configuration
  • Add resource attributes (service name, version, etc.)
  • Configure trace sampling
  • Add context propagation

Acceptance Criteria

  • OpenTelemetry SDK configured
  • OTLP exporter to Jaeger/Zipkin
  • Resource attributes configured
  • Trace sampling configuration
  • Context propagation working
  • Environment-based configuration
  • Unit tests (85% coverage)
**Parent EPIC:** #121 - Backend Migration from Jarvis r1 **Phase:** 3 - OpenTelemetry Infrastructure **Estimate:** 2 days ## Description Migrate OpenTelemetry SDK configuration with OTLP exporter for distributed tracing. ## Source Files - `jarvis/core/telemetry.py` ## Target Implementation - Create `apps/api/src/telemetry/` module - Implement OTLP exporter configuration - Add resource attributes (service name, version, etc.) - Configure trace sampling - Add context propagation ## Acceptance Criteria - [ ] OpenTelemetry SDK configured - [ ] OTLP exporter to Jaeger/Zipkin - [ ] Resource attributes configured - [ ] Trace sampling configuration - [ ] Context propagation working - [ ] Environment-based configuration - [ ] Unit tests (85% coverage)
jason.woltje added this to the M4-LLM (0.0.4) milestone 2026-02-04 02:35:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#312