Expand description
Why a built-in tool call failed, as a closed class for telemetry.
Only the class leaves the machine; the message it is derived from (which can name files, commands or values) never does. Matching is ordered from the most specific signal to the most generic one.
Structs§
- Failure
- A failed call as telemetry sees it: its class and, when one survives
scrubbing, the template of its message (see
super::failure_template).
Enums§
Constants§
- FAILURE_
KINDS - MAX_
FAILURE_ MESSAGES - Failure templates reported per tool and day.
- RULES
Functions§
- add_
kinds - classify
- Classify a failure message; the message itself is discarded.
- sub_
kinds - wire_
kinds - Non-zero classes for the wire, capped so they never exceed
failures. - wire_
messages - The most frequent scrubbed templates of
tool(keystool\ttemplate), counts capped so they never exceedfailures.
Type Aliases§
- Kind
Counts - Failure counts indexed like
FAILURE_KINDS.