Success
data class Success(val spansSent: Int, val logsSent: Int = 0, val metricPointsSent: Int = 0) : DrainResult
The drain completed (fully or partially) — at least one signal got through, or there was nothing to send.
Each signal is drained independently; a per-signal failure contributes 0 and is logged, without aborting the others. A drain is a Failure only when every attempted signal failed.
Parameters
spansSent
Number of spans transmitted. Zero means the edge was already up to date (or the span leg failed — see class doc).
logsSent
Number of log records transmitted.
metricPointsSent
Number of metric data points transmitted.