Telemetry

public final class Telemetry

Telemetry control surface used by the fiona CLI's send-only child mode. Lets a parent process dump proto payloads to disk via the NUTRIENT_PAYLOAD_PATH environment variable, exit fast, and have a short-lived child re-hydrate and ship them in parallel.

Constructors

Link copied to clipboard
public void Telemetry()

Functions

Link copied to clipboard
public final static void flush(int timeoutMilliseconds)
Waits up to for any in-flight telemetry sends to complete.
Link copied to clipboard
public final static void sendPayloadsFromDirectory(String directory)
Re-enqueues every *.pb file in into the active telemetry strategy as a raw payload, deleting each file on successful enqueue.