Skip to main content

fire_sync

Function fire_sync 

Source
pub fn fire_sync(request: TelemetryIngestRequest)
Expand description

Send a telemetry event from a short-lived process such as a shell hook.

Spawns a thread for the HTTP call and waits at most 300 ms before returning so the invoking process can exit promptly. If the server is unreachable the timeout fires and the event is silently dropped — telemetry is best-effort and must never delay the user’s shell commands.