Documentation
¶
Overview ¶
Package telemetry provides synchronous persistence helpers for telemetry tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Flush ¶
Flush captures once and drains the engine's pending batches in FIFO order, failing the test on error. It works before Run or alongside its periodic loop, starts no loop, and refuses after Close begins. Normal limits, loss accounting, receipts and incident capture counts apply; repeated calls do not duplicate persisted observation counts. DrainTimeout bounds cooperative work, while callbacks retain ownership until exit. Flush does not wait for asynchronous error reporters; ensure their observations have arrived before calling it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.