TimeLimiterStatistics

@Serializable
data class TimeLimiterStatistics(val totalCalls: Long, val successfulCalls: Long, val timedOutCalls: Long, val failedCalls: Long, val averageTimeoutDuration: Duration)(source)

Statistics for a time limiter.

Constructors

Link copied to clipboard
constructor(totalCalls: Long, successfulCalls: Long, timedOutCalls: Long, failedCalls: Long, averageTimeoutDuration: Duration)

Properties

Link copied to clipboard

Average duration of timed-out calls

Link copied to clipboard

Total number of failed calls

Link copied to clipboard

Ratio of failed calls (non-timeout) from 0.0 to 1.0.

Link copied to clipboard

Total number of successful calls

Link copied to clipboard

Ratio of successful calls from 0.0 to 1.0.

Link copied to clipboard

Total number of timed-out calls

Link copied to clipboard

Ratio of timed-out calls from 0.0 to 1.0.

Link copied to clipboard

Total number of calls attempted