Skip to content

[Feature] Observability: structured logging, Prometheus metrics and OpenTelemetry tracing #11

@ElioNeto

Description

@ElioNeto

Overview

Add full observability to the vyx core and workers: structured logs, Prometheus metrics, and distributed tracing via OpenTelemetry.

Acceptance Criteria

  • Core and workers emit structured JSON logs with: level, timestamp, service, correlation_id
  • /metrics endpoint exposes Prometheus metrics:
    • Request count per route
    • Latency histogram per route
    • Error rate per route
    • Worker status (running/unhealthy/restarting)
  • OpenTelemetry trace headers propagated from core to workers via message metadata
  • Sample Grafana dashboard JSON provided in infra/grafana/
  • Correlation ID generated per request and included in all downstream logs

References

  • Spec §10 – Observability and Monitoring
  • Roadmap – Phase 3

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions