{{#app-view class="instance show"}} {{#block-slot name='notification' as |status type|}} {{partial 'dc/services/notifications'}} {{/block-slot}} {{#block-slot name='breadcrumbs'}}
  1. All Services
  2. Service ({{item.Service}})
  3. Instance
{{/block-slot}} {{#block-slot name='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 {{else if (eq item.Kind 'mesh-gateway')}} Mesh Gateway {{/if}}

Service Name
{{item.Service}}
Node Name
{{item.Node.Node}}
{{#if proxy.ServiceName}}
{{#if proxy.ServiceProxy.DestinationServiceID}}
Sidecar Proxy
{{proxy.ServiceID}}
{{else}}
Proxy
{{proxy.ServiceName}}
{{/if}}
{{/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 name='content'}} {{tab-nav items=(compact (array 'Service Checks' 'Node Checks' (if (eq item.Kind 'connect-proxy') 'Upstreams' '' ) (if (and (eq item.Kind 'connect-proxy') (gt item.Proxy.Expose.Paths.length 0)) 'Exposed Paths' '' ) (if (eq item.Kind 'mesh-gateway') 'Addresses' '' ) 'Tags' 'Meta Data' ) ) 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') '' ) (if (and (eq item.Kind 'connect-proxy') (gt item.Proxy.Expose.Paths.length 0)) (hash id=(slugify 'Exposed Paths') partial='dc/services/exposedpaths') '' ) (if (eq item.Kind 'mesh-gateway') (hash id=(slugify 'Addresses') partial='dc/services/addresses') '' ) (hash id=(slugify 'Tags') partial='dc/services/tags') (hash id=(slugify 'Meta Data') partial='dc/services/metadata') ) ) 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}}