Skip to content

Liveness and readiness health endpoints #4014

Discussion options

You must be logged in to vote

Q: What should the /health endpoint return ?

I would say /health should return a combination of both readiness and liveness

Q: Should one of the liveness or readiness endpoint return also health indicators that are not qualified?

/health/readiness will return just the readiness probes and /health/liveness just the liveness probes

Q: Do we want to migrate micronaut health indicators?

I think current health indicators should all be regarded as readiness

A user can optionally define a liveness probe that triggers a restart of the container themselves. In general most health indicators point to databases or messaging streams and if those go down there a restart will not resolve the situation.

U…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pgressa
Comment options

@pgressa
Comment options

Answer selected by graemerocher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants