{{#if (gt @topology.Downstreams.length 0)}}

{{@dc}}

Only showing downstreams within the current datacenter for {{@service.Service.Service}}.
{{#each @topology.Downstreams as |item|}} {{#if (and @hasMetricsProvider (not-eq @service.Service.Kind 'ingress-gateway'))}} {{/if}} {{/each}}
{{/if}}
{{@service.Service.Service}}
{{#if @hasMetricsProvider }} {{#if (not-eq @service.Service.Kind 'ingress-gateway')}} {{/if}} {{/if}}
{{#if (gt this.upstreams.length 0)}}
{{#each-in (group-by "Datacenter" this.upstreams) as |dc upstreams|}}
{{#if dc}}

{{dc}}

{{/if}} {{#each upstreams as |item|}} {{#if (and @hasMetricsProvider (not-eq @service.Service.Kind 'ingress-gateway'))}} {{/if}} {{/each}}
{{/each-in}}
{{/if}}