pub(crate) fn end(status: SessionStatus) -> boolExpand description
Ends the release health session with status, sends the metrics that are due without waiting
between envelopes, then closes the client.
The session update is queued before the metrics, so metrics can’t take its place in the transport queue.
Returns false if queued events, logs, and metrics could not be sent before the shutdown
timeout.