Hi Reddec,
Another idea, the REST API now exposes per instance the config and status.
/instance/{name}:
get:
summary: Get instance config and status
This is very usefull from a management point of view, but it would also be usefull to have a "healthcheck" endpoint that just reports the status of a service and/or an endpoint that reports only the status of all managed services.
These healtcheck endpoints could be added to monitoring tools, that would report a system as down if the healtcheck endpoint would report a certain error code.
Idea:
/healtchecks/:
get:
summary: Get instance health status of all services that should be running
/healtcheck/{name}:
get:
summary: Get instance health status of a service
Response codes:
- 200: if the service is running or stopped, body: "service xxx is up"
- 5xx: if the service is not running, while it would be expected to be running, body "service xxx is down"
Hi Reddec,
Another idea, the REST API now exposes per instance the config and status.
This is very usefull from a management point of view, but it would also be usefull to have a "healthcheck" endpoint that just reports the status of a service and/or an endpoint that reports only the status of all managed services.
These healtcheck endpoints could be added to monitoring tools, that would report a system as down if the healtcheck endpoint would report a certain error code.
Idea:
/healtchecks/:
get:
summary: Get instance health status of all services that should be running
/healtcheck/{name}:
get:
summary: Get instance health status of a service
Response codes: