method HealthService.prototype.registerIndicator
HealthService.prototype.registerIndicator(
name: string,
): void

{@inheritDoc IHealthService.registerIndicator}

Parameters

name: string

Return Type

void

Throws

Error

If an indicator with the same name is already registered

Usage

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