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
| Property | Type | Description | Defined in |
|---|---|---|---|
droppedByReason | Readonly<Record<string, number>> | Drops by reason; the four built-in reasons + any custom ones. | packages/observability/src/redaction/types.ts:56 |
droppedTotal | number | Total values dropped by the validator. | packages/observability/src/redaction/types.ts:54 |
matchesByPattern | Readonly<Record<string, number>> | Pattern-matching counters keyed by pattern name. | packages/observability/src/redaction/types.ts:58 |