f52e1f607d
Adds visibility for `Expose.Checks` config setting for proxies. 1. Adds an 'Exposed Path' tab to the proxy detail page to show the user information on exposed paths. 2. If the users has exposed their healthchecks we also add this information to the Service detail page for this proxy (only for http2 and gRPC checks)
34 lines
937 B
Handlebars
34 lines
937 B
Handlebars
<p>
|
|
You can expose individual HTTP paths like /metrics through Envoy for external services like Prometheus.
|
|
</p>
|
|
{{#tabular-collection
|
|
data-test-exposedpaths
|
|
class="exposedpaths"
|
|
items=item.Proxy.Expose.Paths as |path index|
|
|
}}
|
|
{{#block-slot 'header'}}
|
|
<th>Path</th>
|
|
<th>Protocol</th>
|
|
<th>Listener port</th>
|
|
<th>Local path port</th>
|
|
<th>Combined address<span><em role="tooltip">Service address, listener port, and path all combined into one URL.</em></span></th>
|
|
{{/block-slot}}
|
|
{{#block-slot 'row'}}
|
|
<td>
|
|
<span>{{path.Path}}</span>
|
|
</td>
|
|
<td>
|
|
{{path.Protocol}}
|
|
</td>
|
|
<td>
|
|
{{path.ListenerPort}}
|
|
</td>
|
|
<td>
|
|
{{path.LocalPathPort}}
|
|
</td>
|
|
<td>
|
|
<span data-test-combined-address>{{item.Address}}:{{path.ListenerPort}}{{path.Path}}</span>
|
|
</td>
|
|
{{/block-slot}}
|
|
{{/tabular-collection}}
|