Skip to main content

Module telemetry_failure

Module telemetry_failure 

Source
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§

FailureKind

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 (keys tool\ttemplate), counts capped so they never exceed failures.

Type Aliases§

KindCounts
Failure counts indexed like FAILURE_KINDS.