{{#app-view class="instance show"}} {{#block-slot 'notification' as |status type|}} {{partial 'dc/services/notifications'}} {{/block-slot}} {{#block-slot 'breadcrumbs'}}
  1. All Services
  2. Service ({{item.Service}})
  3. Instance
{{/block-slot}} {{#block-slot 'header'}}

{{ item.ID }} {{#with (service/external-source item) as |externalSource| }} {{#with (css-var (concat '--' externalSource '-color-svg') 'none') as |bg| }} {{#if (not-eq bg 'none') }} Registered via {{externalSource}} {{/if}} {{/with}} {{/with}} {{#if (eq item.Kind 'connect-proxy')}} Proxy {{/if}}

Service Name
{{item.Service}}
Node Name
{{item.Node.Node}}
{{#if proxy.ServiceName}}
{{if proxy.ServiceProxy.DestinationServiceID "Sidecar " ""}}Proxy
{{proxy.ServiceID}}
{{/if}} {{#if (eq item.Kind 'connect-proxy')}} {{#if item.Proxy.DestinationServiceID}}
Dest. Service Instance
{{item.Proxy.DestinationServiceID}}
Local Service Address
{{item.Proxy.LocalServiceAddress}}:{{item.Proxy.LocalServicePort}}
{{else}}
Dest. Service
{{item.Proxy.DestinationServiceName}}
{{/if}} {{/if}} {{/block-slot}} {{#block-slot 'content'}} {{tab-nav items=(compact (array 'Service Checks' 'Node Checks' (if (eq item.Kind 'connect-proxy') 'Upstreams' '') 'Tags' ) ) selected=selectedTab }} {{#each (compact (array (hash id=(slugify 'Service Checks') partial='dc/services/servicechecks') (hash id=(slugify 'Node Checks') partial='dc/services/nodechecks') (if (eq item.Kind 'connect-proxy') (hash id=(slugify 'Upstreams') partial='dc/services/upstreams') '') (hash id=(slugify 'Tags') partial='dc/services/tags') ) ) as |panel| }} {{#tab-section id=panel.id selected=(eq (if selectedTab selectedTab '') panel.id) onchange=(action "change")}} {{partial panel.partial}} {{/tab-section}} {{/each}} {{/block-slot}} {{/app-view}}