Partial

data class Partial(val spansSent: Int, val logsSent: Int, val metricPointsSent: Int, val failures: List<SignalFailure>) : DrainResult

At least one attempted signal drained and at least one failed.

The counts report what got through; a failed signal's count is zero. failures names each failed signal with the exception its edge call threw — the original instance, not a wrapper.

Parameters

spansSent

Number of spans transmitted.

logsSent

Number of log records transmitted.

metricPointsSent

Number of metric data points transmitted.

failures

One entry per failed signal, in drain order (spans, logs, metrics). Never empty, and no signal appears twice.

Constructors

Link copied to clipboard
constructor(spansSent: Int, logsSent: Int, metricPointsSent: Int, failures: List<SignalFailure>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard