Pending telemetry is flushed on exit instead of being dropped.
What's wrong with this entry?
Pending first-party events now get a final flush on exit instead of being dropped. The exporter is held on the host, and shutdown starts the flush and waits for it alongside the telemetry provider's own shutdown.
- The exporter also gained token-refresh bookkeeping: which credential a refresh was attempted for, the in-flight refresh, and a retry time for workload identity minting.
- Two timeouts are now configurable, one for the OAuth refresh and one for waiting on the credential helper process.
- Applies whenever first-party event logging is enabled.
signalFinalFlush
Strings lifted out of the shipped bundle, so the claim above can be checked against them.