Class: HealthEndpoint

health.HealthEndpoint(registry, groups)

A health endpoint that provides information about the health of the application.

Constructor

new HealthEndpoint(registry, groups)

Creates a new health endpoint.

Parameters:
Name Type Description
registry HealthContributorRegistry

The health contributor registry.

groups HealthEndpointGroups

The health groups.

Methods

health() → {EndpointResponse}

Returns the health of the application.

Returns:

The health response.

Type
EndpointResponse

(static) getDefault() → {HealthEndpoint}

Returns the default health endpoint.

Returns:

The default health endpoint.

Type
HealthEndpoint