IncrementSum

data class IncrementSum(val key: MetricKey, val by: Long = 1) : MetricUpdate

Add by to the integer sum for key — WarpMetricExporter.incrementSum.

Throws

if by is less than 1; a grow-only counter takes no zero or negative increment.

Constructors

Link copied to clipboard
constructor(key: MetricKey, by: Long = 1)

Properties

Link copied to clipboard
val by: Long
Link copied to clipboard
open override val key: MetricKey

The series this update changes.