Skip to main content

LOG_FIELD_ALLOWLIST

@forge/monorepo


@forge/monorepo / backend/src / LOG_FIELD_ALLOWLIST

Variable: LOG_FIELD_ALLOWLIST

const LOG_FIELD_ALLOWLIST: readonly string[]

Defined in: backend/src/telemetry/redaction.ts:36

The fields any log line or span may carry.

Ids, names from closed sets, counts, durations, and classified codes. Nothing whose value is authored by a user or a model. Read the list as the answer to "what can this platform tell you about a failure?" — if it is not here, the answer is a metric or a trace, not a log field.