@PLUGIN@ health checks

The @PLUGIN@ plugin registers the pull-replication-outstanding-tasks healthcheck.

Health check configuration

The configuration of the health check is split across two files.

  • The “standard” properties commonly available to all other checks of the healthcheck plugin. These are set in the healthcheck plugin's config file.
  • Settings specific to the check are set in the plugin's config file.

The health check can be configured as follows:

  • healthcheck.@PLUGIN@-outstanding-tasks.projects: The repo(s) that the health check will track pending replication tasks against. Multiple entries are supported.
  • healthcheck.@PLUGIN@-outstanding-tasks.periodOfTime: The time for which the check needs to be successful, in order for the instance to be marked healthy. If the time unit is omitted it defaults to seconds. Values should use common unit suffixes to express their setting:
  • ms, milliseconds
  • s, sec, second, seconds
  • m, min, minute, minutes
  • h, hr, hour, hours

Useful information

  • The health check is registered only when the healthcheck plugin is installed. If the healthcheck plugin is not installed, then the check registration is skipped during load of the pull-replication plugin.
  • Because the pull-replication healthcheck depends on the healthcheck plugin, renaming/removing the healthcheck jar file is not supported during runtime. Doing so can lead to unpredictable behaviour of your gerrit instance.