2020-05-07 13:57:15 +00:00
|
|
|
<div class="tab-section">
|
|
|
|
<div role="tabpanel">
|
2020-08-26 14:24:30 +00:00
|
|
|
{{#if (gt proxy.Service.Proxy.Upstreams.length 0)}}
|
2020-05-07 13:57:15 +00:00
|
|
|
<section class="proxy-upstreams">
|
2020-06-17 09:25:54 +00:00
|
|
|
<h3>Upstreams</h3>
|
2020-10-14 08:03:39 +00:00
|
|
|
<Consul::UpstreamInstance::List @items={{proxy.Service.Proxy.Upstreams}} @dc={{dc}} @nspace={{nspace}} />
|
2020-05-07 13:57:15 +00:00
|
|
|
</section>
|
|
|
|
{{/if}}
|
2020-08-26 14:24:30 +00:00
|
|
|
{{#if (gt proxy.Service.Proxy.Expose.Paths.length 0)}}
|
2020-05-07 13:57:15 +00:00
|
|
|
<section class="proxy-exposed-paths">
|
|
|
|
<h3>Exposed paths</h3>
|
|
|
|
<p>
|
|
|
|
The following list shows individual HTTP paths exposed through Envoy for external services like Prometheus. Read more about this in our documentation.
|
|
|
|
</p>
|
2020-10-14 08:03:39 +00:00
|
|
|
<Consul::ExposedPath::List @items={{proxy.Service.Proxy.Expose.Paths}} @address={{item.Address}} />
|
2020-05-07 13:57:15 +00:00
|
|
|
</section>
|
|
|
|
{{/if}}
|
2020-06-09 15:36:04 +00:00
|
|
|
{{#if (or (gt proxy.ServiceChecks.length 0) (gt proxy.NodeChecks.length 0))}}
|
|
|
|
<section>
|
|
|
|
<h3>Proxy health</h3>
|
2020-06-16 13:13:29 +00:00
|
|
|
<HealthcheckList data-test-proxy-checks @items={{sort-by (comparator 'check' 'Status:asc') (append proxy.ServiceChecks proxy.NodeChecks)}} />
|
2020-06-09 15:36:04 +00:00
|
|
|
</section>
|
|
|
|
{{/if}}
|
2020-05-07 13:57:15 +00:00
|
|
|
</div>
|
2020-05-19 16:18:04 +00:00
|
|
|
</div>
|