ElapsedWithRetries

@Serializable
data class ElapsedWithRetries(val totalElapsedTimeWithRetries: Duration = Duration.ZERO, val totalElapsedTimeInRetries: Duration = Duration.ZERO)

Retries-aware elapsed-time totals, attached to an elapsed-time metric when any retry fired below.

Constructors

Link copied to clipboard
constructor(totalElapsedTimeWithRetries: Duration = Duration.ZERO, totalElapsedTimeInRetries: Duration = Duration.ZERO)

Properties

Link copied to clipboard

Retry attempts + retry wait delays (the final attempt's elapsed is excluded).

Link copied to clipboard

Final attempt + retry attempts + retry wait delays.