Task · TSO-0008

Add an explicit Prometheus-only delivery mode

Description

Prometheus pull is currently an additional metric reader while the default OTLP metrics and logs exporters remain active. A Prometheus-only operator must discover and disable three per-signal OTLP paths. Add one explicit configuration choice that has a documented disposition for metrics, logs, and traces.

Acceptance Criteria

Definition of Done

Implementation Plan

Implement the frozen delivery.mode contract across config, telemetry, schema and deployment surfaces; prove Prometheus-only suppresses inherited OTLP while dual mode remains compatible.

Post-delivery cleanup requested by the human: restore the live deployment’s captured pre-run OTLP posture, retain its pre-existing authenticated local-validation listener configuration, delete the campaign-created Fleet scrape pipeline, and independently read back both states.

Implementation Notes

Implemented and locally validated in bundled pause snapshot 2cf46446d5c6a7a30ea6f7d0c54d61ec9889d522. Emergency stop occurred before final security, exact-head CI, and live Prometheus-only proof. Resume from that commit without redesigning the frozen delivery.mode seam.

Final evidence: integrated GATE and exact-head CI run 33047209645 succeeded. The live deployment used delivery.mode=prometheus; post-restart logs showed no OTLP export attempts, while the loopback Prometheus sentinel was scraped through Fleet and queried from the metrics backend.

Post-delivery cleanup requested by the human is complete. The live deployment was restored to its captured pre-run OTLP posture while retaining the pre-existing authenticated local-validation listener. The campaign-created Fleet scrape pipeline was deleted. Independent read-back showed a running deployment, authenticated metrics HTTP 200, no delivery override, zero recent export errors, and zero matching Fleet pipelines.

Final Summary

Prometheus-only and dual delivery dispositions are committed in 2cf46446d5c6a7a30ea6f7d0c54d61ec9889d522; parked pending final security, CI, and live proof.

Completion: verified by tests, exact-head CI, and live Prometheus-only delivery.

References

View the source file on GitHub