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