2023-03-14 13:18:55 +00:00
|
|
|
{{!
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
|
|
|
SPDX-License-Identifier: MPL-2.0
|
|
|
|
}}
|
|
|
|
|
2021-08-26 18:08:31 +00:00
|
|
|
{{#if (or @noMetricsReason @error)}}
|
|
|
|
<span data-test-topology-metrics-status class="topology-metrics-status-error">
|
|
|
|
{{#if (eq @noMetricsReason 'ingress-gateway')}}
|
|
|
|
{{t "components.consul.topology-metrics.status.ingress-gateway"}}
|
|
|
|
{{else if (eq @noMetricsReason 'remote-dc')}}
|
|
|
|
{{t "components.consul.topology-metrics.status.error"}}
|
|
|
|
<span
|
|
|
|
{{tooltip (t "components.consul.topology-metrics.status.remote-dc")}}
|
|
|
|
/>
|
|
|
|
{{else if @error}}
|
|
|
|
{{t "components.consul.topology-metrics.status.error"}}
|
|
|
|
{{/if}}
|
2020-10-26 19:48:23 +00:00
|
|
|
</span>
|
|
|
|
{{else}}
|
2021-08-26 18:08:31 +00:00
|
|
|
<span class="topology-metrics-status-loader">{{t "components.consul.topology-metrics.status.loading"}}</span>
|
2020-10-26 19:48:23 +00:00
|
|
|
{{/if}}
|