The metric to record an error for.
The error type to record.
The message to log. This message is not sent with the ping. It does not need to include the metric id, as that is automatically prepended to the message.
The number of errors of the same type to report.
Gets the number of recorded errors for the given metric and error type.
The metric to get the number of errors for.
The error type to get count of.
Optional
ping: stringThe ping from which we want to retrieve the number of recorded errors.
Defaults to the first value in sendInPings
.
The number of errors reported.
Generated using TypeDoc
Records an error into Glean.
Errors are recorded as labeled counters in the
glean.error
category.