pub async fn read_flight_recorder_aggregated(
cancellation_token: Option<CancellationToken>,
) -> Vec<FlightRecorderEvent>Expand description
Read the Flight Recorder events for this client.
In a forwarder, requests the collector’s events and appends this context’s IPC events and
events not yet sent. If the collector cannot be reached or does not answer before
cancellation_token is cancelled, only this context’s events are returned. Without a token,
the wait is bounded at 5 seconds. Elsewhere, reads the local buffer.