open-consul/website/content/docs
Daniel Nephin 44d91ea56f
Add failures_before_warning to checks (#10969)
Signed-off-by: Jakub Sokołowski <jakub@status.im>

* agent: add failures_before_warning setting

The new setting allows users to specify the number of check failures
that have to happen before a service status us updated to be `warning`.
This allows for more visibility for detected issues without creating
alerts and pinging administrators. Unlike the previous behavior, which
caused the service status to not update until it reached the configured
`failures_before_critical` setting, now Consul updates the Web UI view
with the `warning` state and the output of the service check when
`failures_before_warning` is breached.

The default value of `FailuresBeforeWarning` is the same as the value of
`FailuresBeforeCritical`, which allows for retaining the previous default
behavior of not triggering a warning.

When `FailuresBeforeWarning` is set to a value higher than that of
`FailuresBeforeCritical it has no effect as `FailuresBeforeCritical`
takes precedence.

Resolves: https://github.com/hashicorp/consul/issues/10680

Signed-off-by: Jakub Sokołowski <jakub@status.im>

Co-authored-by: Jakub Sokołowski <jakub@status.im>
2021-09-14 12:47:52 -04:00
..
agent docs: fixed identation of warning components 2021-08-30 07:12:30 -07:00
architecture General improvements to the wording 2021-07-22 16:20:16 -07:00
connect website: fixup incorrect markdown syntax (#11015) 2021-09-13 10:36:34 -04:00
discovery Add failures_before_warning to checks (#10969) 2021-09-14 12:47:52 -04:00
dynamic-app-config docs: Update code blocks across website 2021-08-11 13:20:03 -07:00
ecs Fix links to ECS module (#10430) 2021-06-18 09:38:28 -07:00
enterprise Adding NIA to Consul Ent page 2021-09-02 10:32:07 -06:00
guides website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00
install docs: Update code blocks across website 2021-08-11 13:20:03 -07:00
integrate website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00
internals website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00
intro docs: Removal of Consul vs ZooKeeper analysis (#10469) 2021-06-24 07:23:57 -07:00
k8s Update website/content/docs/k8s/installation/multi-cluster/vms-and-kubernetes.mdx 2021-09-07 07:53:57 -07:00
nia docs: indenting pr web dev guidance and Blake 2021-09-02 11:25:49 -07:00
release-notes Merge pull request #10527 from hashicorp/rename-main-branch 2021-06-30 13:07:09 -04:00
security docs: add ACL component relationships visual 2021-09-10 15:33:23 -07:00
troubleshoot docs: Add note about configurable KV size in FAQ 2021-06-14 16:21:25 -07:00
upgrading docs: Update code blocks across website 2021-08-11 13:20:03 -07:00
download-tools.mdx docs: Fix spelling errors across website 2021-07-19 14:29:54 -07:00
index.mdx maintenance complete, pending markdown-page component addition 2020-12-16 16:55:23 -05:00