{{#if (or @noMetricsReason @error)}}
  <span data-test-topology-metrics-status class="topology-metrics-status-error">
    {{#if (eq @noMetricsReason 'ingress-gateway')}}
      {{t "components.topology-metrics.status.ingress-gateway"}}
    {{else if (eq @noMetricsReason 'remote-dc')}}
      {{t "components.topology-metrics.status.error"}}
      <span
        {{tooltip (t "components.topology-metrics.status.remote-dc")}}
      />
    {{else if @error}}
      {{t "components.topology-metrics.status.error"}}
    {{/if}}
  </span>
{{else}}
  <span class="topology-metrics-status-loader">{{t "components.topology-metrics.status.loading"}}</span>
{{/if}}