open-consul/website/content/api-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
..
acl docs: Update code blocks across website 2021-08-11 13:20:03 -07:00
agent Add failures_before_warning to checks (#10969) 2021-09-14 12:47:52 -04:00
connect docs: Fix spelling errors across website 2021-07-19 14:29:54 -07:00
features http: add an X-Consul-Query-Backend header to responses 2021-06-28 16:44:58 -04:00
operator Add deprecation/removal notices regarding the APIs/CLI commands for licensing that are going away. 2021-06-03 10:48:16 -04:00
acl-legacy.mdx docs: Update code blocks across website 2021-08-11 13:20:03 -07:00
catalog.mdx Add docs for transparent proxy mode and config (#10038) 2021-04-16 12:50:02 -07:00
config.mdx docs: Add JSON examples to all config entries 2021-08-10 15:34:28 -07:00
coordinate.mdx docs: Update code blocks across website 2021-08-11 13:20:03 -07:00
discovery-chain.mdx docs: Add namespace parameter to additional HTTP endpoints (#10731) 2021-08-02 11:55:23 -07:00
event.mdx website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00
health.mdx docs: move streaming docs to blocking query page 2021-06-08 14:17:53 -04:00
index.mdx website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00
kv.mdx Add better security warning to docs about the content-type change 2021-04-14 16:36:40 -04:00
libraries-and-sdks.mdx Updated link to repo for native Scala Consul client Helm 2021-08-02 22:01:05 -07:00
namespaces.mdx docs: fix api-docs namespace descriptions 2021-05-06 14:58:08 -04:00
query.mdx docs: Add supported consistency modes to prepared queries 2021-08-10 16:19:22 -07:00
session.mdx docs: Fix service checks docs on session endpoint (#10759) 2021-08-03 09:57:31 -07:00
snapshot.mdx website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00
status.mdx website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00
txn.mdx website: implement mktg 032 (#9953) 2021-04-07 15:50:38 -04:00