update docs for error-handlers with new .ALL metric and consistent naming

This commit is contained in:
Jonathan Shook
2022-07-21 12:17:32 -05:00
parent e59025f931
commit 89b7cce900

View File

@@ -15,12 +15,15 @@ The currently supported handler verbs, like `stop` above, are:
* **ignore** If an error matches this verb in a handler chain, then it
will be silently ignored.
* **counter** Count each uniquely named error with a counter metric.
* **meter** Meter each uniquely named error with a meter metric.
* **counter** Count each uniquely named error with a counter metric. These will show up in
metrics as `...errorcounts.<name>` and `...errorcounts.ALL`.
* **meter** Meter each uniquely named error with a meter metric. These will show up in metrics
as `...errormeters.<name>` and `...errormeters.ALL`.
* **histogram** Track the session time of each uniquely named error with a
histogram.
histogram. This will show as `...errorhistos.<name>` and `...errorhistos.ALL`.
* **timer** Count, Meter, and Track session times of each uniquely named
error with a timer metric, which combines the three forms above.
This will show as `...errortimers.<name>` and `...errortimers.ALL`.
* **warn** Log a warning to the log with the error details.
* **stop** Allow the error to propagate through the stack to cause the
activity to be stopped.