Setu-TS
    Preparing search index...

    Interface HealthDiagnosticsOptions

    The opt-in health-observation policy (M98d).

    Present only when the developer explicitly opts in to minimized health observations. An omitted diagnostics option registers an inert, disabled source and performs no capture. When present, the health plugin retains the latest outcome per approved indicator alias (never a history) and, when scheduled is present, performs bounded scheduled checks.

    Indicator names and topology are treated as sensitive: only the explicitly allowlisted name-to-alias mapping is retained, aliases are unique and bounded, and no indicator data, error text, or absolute time is ever projected.

    0.8.0

    interface HealthDiagnosticsOptions {
        enabled: true;
        indicators: Readonly<Record<string, string>>;
        scheduled?: HealthDiagnosticsScheduledOptions;
        staleAfterMs?: number;
    }
    Index
    enabled: true

    The explicit opt-in, and deliberately the LITERAL true rather than a boolean: this is an acknowledgement, not a toggle. An absent option is the disabled path; enabled: false (or any value other than true) is refused when HealthPlugin(...) is called, so a half-configured composition fails loudly instead of silently opting in.

    indicators: Readonly<Record<string, string>>

    The exact registered indicator name to display-alias allowlist. At most 64 entries. Each alias must be unique, 1–64 UTF-8 bytes, and contain no control characters. An indicator whose registered name is not a key here is never retained — its outcome is counted as dropped, not projected. Every option is validated when HealthPlugin(...) is called, with fixed messages that never echo a supplied value.

    Optional bounded scheduled collection. Absent by default; when present it must name a subset of the approved indicator names.

    staleAfterMs?: number

    The snapshot's state is stale once any retained observation is older than this many milliseconds, measured on the runtime's monotonic clock from capture. An observation itself carries no stale state — only its growing ageMs.

    30000