ReadonlyenabledThe 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.
ReadonlyindicatorsThe 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 ReadonlyscheduledOptional bounded scheduled collection. Absent by default; when present it must name a subset of the approved indicator names.
Optional ReadonlystaleThe 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.
The opt-in health-observation policy (M98d).
Present only when the developer explicitly opts in to minimized health observations. An omitted
diagnosticsoption 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, whenscheduledis 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.Since
0.8.0