property HealthPluginOptions.indicators

Additional indicators to register.

An instance entry is registered during register(), unchanged from the pre-factory behaviour. A factory entry is resolved and registered at the start of the onInit phase — before the CAPABILITIES.HEALTH_INDICATOR contribution drain — so it can resolve a capability registered by a plugin that registers after this one. A factory that throws rejects start(), naming the option and the entry.

Defaults to [].

Type

Usage

import { type HealthPluginOptions } from "health-plugin/src/index.ts";