Replies: 1 comment
-
Currently, the health checks are just run once on startup. There are no retries, we would like to change this as per the issue you have linked. If On a restart, healthchecks are run for new sinks only. If Hope that answers your question. Any other questions, please ask. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Vector supports various methods to define which health checks to run; but the documentation doesn't describe the actual behaviour when such health checks fail.
Configuring health checks
There are a several methods for configuring health checks execution:
healthcheck.enabled
boolean flag;healthchecks
section, with two options:enabled
to enable/disable them globally;require_healthy
(or--require-healthy
) to refuse starting when any health check fails--no-environment
flag forvector validate
disables health checks execution on validationHealth check impacts
What happens when a sink health check is enabled and fails?
vector validate
is part of the startup sequence (ExecStartPre = vector validate
in a SystemD unit), the unit won't start (unless--no-environment
is set);healthchecks.require_healthy
is configured, vector will fail to startvector validate
or with--no-environment
; norequire_healthy
), what happens? Will vector retry the health check until it succeeds? See Health checks should retry #16810Beta Was this translation helpful? Give feedback.
All reactions