Task · TSO-0158

Wire delivery-health diagnostics so export outage and recovery lines actually log

Description

internal/telemetry/delivery.go deliveryTracker.setDiagnostics (#365) has no non-test caller on main (checked at 2a00edb4 and 54915a36), so first-failure, still-failing and recovery delivery-health log lines never print in the running exporter. Found by the loop19 TSO-0153 lane. Also: the InstallExportErrorHandler comment in internal/telemetry/selfobs.go still says the backend body is included, which is stale after TSO-0153.

Acceptance Criteria

Definition of Done

Implementation Notes

loop19: loop-created; 1 implementation attempt; landed 79779879; security review approve; CodeRabbit 0 findings; composed just check green; CI green on f759c418 (79779879’s own run was cancelled by a later push).

Final Summary

NewProvider binds the delivery tracker’s logger (and emitter with self-obs on) for every provider before the reader starts; outage/recovery lines now print; no OTLP feedback or extra collections. Landed 79779879.

View the source file on GitHub