forked from mtusi2026/mtusi2026lab6
Add the change add-lab6-telemetry-pipeline for level 3 of lab 6: every API worker process, the relay and the worker start the OpenTelemetry SDK after fork with service.name, service.version, a per-process service.instance.id and deployment.environment.name, export OTLP over HTTP with batch processors only, record HTTP server spans and the seconds histogram by route template, consumer spans and the jobs.processed counter and job.duration histogram by job type and outcome, PostgreSQL client spans inside requests and jobs, and send every allowlisted log record to Loki with trace_id and span_id. The stand gains the Collector, Prometheus, Loki, Tempo and Grafana with volumes and provisioning from Git, built from the verified .prep/lab6 configuration. The specs add lab6-service-telemetry and lab6-telemetry-stack and extend the unified log requirement of lab1-service-operability. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>