hashicorp / hashicorp/consul

Feature request: Ability to override global 'check_update_interval' per health check

Open
#1,665 1 comment 0 reactions 0 assignees View on GitHub
theme/health-checks type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

The reason for a long check_update_interval is to avoid lots of writes to the cluster when a health check's output changes despite no change in state. But if a health check's output does not change often, it still suffers the long update lag time (5m by default).

When registering a health check, a check_update_interval parameter should be able to be supplied such that the health check's output is more quickly broadcast when it changes. It is not hard to conceive of a health check that only occasionally changes its output, and yet that change is important and should be broadcast out to the cluster right away. Prioviding per-health-check update intervals would allow for this behavior and many others.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.