telemetry

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 3 Imported by: 0

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

func Flush(t testing.TB, engine *telemetry.Engine)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL