Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/observability / / RedactionCounters

Interface: RedactionCounters

Defined in: packages/observability/src/redaction/types.ts:52

Counter exposed via createRedactionValidator. Implementations keep counters in-memory; downstream code can scrape them and convert to Prometheus metrics.

Stable

Properties

PropertyTypeDescriptionDefined in
droppedByReasonReadonly<Record&lt;string, number&gt;>Drops by reason; the four built-in reasons + any custom ones.packages/observability/src/redaction/types.ts:56
droppedTotalnumberTotal values dropped by the validator.packages/observability/src/redaction/types.ts:54
matchesByPatternReadonly<Record&lt;string, number&gt;>Pattern-matching counters keyed by pattern name.packages/observability/src/redaction/types.ts:58