Private
#innerIncreases the counter by amount
.
amount
is 0 or negative.Optional
amount: numberThe amount to increase by. Should be positive.
If not provided will default to 1
.
Test-only API
Returns the number of errors recorded for the given metric.
The type of the error recorded.
represents the name of the ping to retrieve the metric for.
Defaults to the first value in sendInPings
.
the number of errors recorded for the metric.
Test-only API.
Gets the currently stored value as a number.
This doesn't clear the stored value.
the ping from which we want to retrieve this metrics value from.
Defaults to the first value in sendInPings
.
The value found in storage or undefined
if nothing was found.
Generated using TypeDoc
A counter metric.
Used to count things. The value can only be incremented, not decremented.