mirror of https://github.com/status-im/consul.git
20 lines
861 B
Handlebars
20 lines
861 B
Handlebars
<Route
|
|
@name={{routeName}}
|
|
as |route|>
|
|
<div class="tab-section">
|
|
{{#if (gt proxy.Service.Proxy.Expose.Paths.length 0)}}
|
|
<p>
|
|
The following list shows individual HTTP paths exposed through Envoy for external services like Prometheus. Read more about this in our documentation.
|
|
</p>
|
|
<Consul::ExposedPath::List @items={{proxy.Service.Proxy.Expose.Paths}} @address={{proxy.Address}} />
|
|
{{else}}
|
|
<EmptyState>
|
|
<BlockSlot @name="body">
|
|
<p>
|
|
There are no individual HTTP paths exposed through Envoy for external services like Prometheus. Read more about this in our <Action @href={{concat (env 'CONSUL_DOCS_URL') '/connect/registration/service-registration#expose-paths-configuration-reference'}} @external={{true}}>documentation</Action>.
|
|
</p>
|
|
</BlockSlot>
|
|
</EmptyState>
|
|
{{/if}}
|
|
</div>
|
|
</Route> |