2021-04-06 12:40:40 +00:00
|
|
|
<Route
|
|
|
|
@name={{routeName}}
|
|
|
|
as |route|>
|
2021-09-15 18:50:11 +00:00
|
|
|
{{#let
|
|
|
|
route.model.tomography
|
|
|
|
as |tomography|}}
|
|
|
|
{{#if (not tomography.distances)}}
|
|
|
|
{{did-insert (route-action 'replaceWith' 'dc.nodes.show')}}
|
|
|
|
{{else}}
|
2021-04-06 12:40:40 +00:00
|
|
|
<div class="tab-section">
|
|
|
|
<div class="definition-table">
|
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
Minimum
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
{{format-number tomography.min maximumFractionDigits=2}}ms
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
Median
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
{{format-number tomography.median maximumFractionDigits=2}}ms
|
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
Maximum
|
|
|
|
</dt>
|
|
|
|
<dd>
|
|
|
|
{{format-number tomography.max maximumFractionDigits=2}}ms
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
<Consul::Tomography::Graph @distances={{tomography.distances}} />
|
2020-04-08 09:56:36 +00:00
|
|
|
</div>
|
2021-09-15 18:50:11 +00:00
|
|
|
{{/if}}
|
|
|
|
{{/let}}
|
2021-04-06 12:40:40 +00:00
|
|
|
</Route>
|