Private
#innerTest-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 an object.
This function will return the Rate for convenience.
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
Increases the denominator by amount.
Note
Records an
InvalidValue
error if theamount
is negative.