diff --git a/.changelog/10194.txt b/.changelog/10194.txt new file mode 100644 index 0000000000..509397cda8 --- /dev/null +++ b/.changelog/10194.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: Show a message to explain that health checks may be out of date if the serf health check is in a critical state +``` diff --git a/ui/packages/consul-ui/app/components/consul/health-check/list/README.mdx b/ui/packages/consul-ui/app/components/consul/health-check/list/README.mdx new file mode 100644 index 0000000000..6429edb3e0 --- /dev/null +++ b/ui/packages/consul-ui/app/components/consul/health-check/list/README.mdx @@ -0,0 +1,33 @@ +# Consul::HealthCheck::List + +A presentational component for rendering HealthChecks. + +```hbs preview-template + +``` + +## Arguments + +| Argument/Attribute | Type | Default | Description | +| --- | --- | --- | --- | +| `items` | `array` | | An array of HealthChecks | + +## See + +- [Template Source Code](./index.hbs) + +--- diff --git a/ui/packages/consul-ui/app/components/consul/health-check/list/index.hbs b/ui/packages/consul-ui/app/components/consul/health-check/list/index.hbs index 450aa9aea6..9a86804a2e 100644 --- a/ui/packages/consul-ui/app/components/consul/health-check/list/index.hbs +++ b/ui/packages/consul-ui/app/components/consul/health-check/list/index.hbs @@ -25,7 +25,7 @@
+ Body +
++ Footer link +
+@type
- This node has no health checks{{#if (gt items.length 0)}} matching that search{{/if}}. -
+ {{t "routes.dc.nodes.show.healthchecks.empty" + items=items.length + htmlSafe=true + }}- This instance has no health checks{{#if (gt items.length 0)}} matching that search{{/if}}. -
+ {{t "routes.dc.services.instance.healthchecks.empty" + items=items.length + htmlSafe=true + }}+ This node has no health checks{items, select, + 0 {} + other { matching that search} + }. +
+ critical-serf-notice: + header: Failing serf check + body: | ++ This node has a failing serf node check. The health statuses shown on this page are the statuses as they were known before the node became unreachable. +
services: show: upstreams: @@ -7,6 +23,20 @@ dc: Upstreams are services that may receive traffic from this gateway. If you are not using Consul DNS, please make sure yourHost:
header uses the correct domain name for the gateway to correctly proxy to its upstreams. Learn more about configuring gateways in our documentation.
instance:
+ healthchecks:
+ empty: |
+ + This instance has no health checks{items, select, + 0 {} + other { matching that search} + }. +
+ critical-serf-notice: + header: Failing serf check + body: | ++ This instance has a failing serf node check. The health statuses shown on this page are the statuses as they were known before the node became unreachable. +
upstreams: tproxy-mode: header: Transparent proxy mode