5f5bd1126e
* updates data with response returned after dates queried * alphabetize todo * clarify comments * change dashboard.js to history.js * separate clients route, add history and config * add loading to config template * Add failsafes for no data * remove commented code * update all LinkTos with new routes, remove params * return response if no data * fix tests * cleanup * fixes template with namespace filter * fixes tests with namespace filter merged * fix namespace array mapping * add version history to test object Co-authored-by: hashishaw <cshaw@hashicorp.com>
42 lines
1.3 KiB
Handlebars
42 lines
1.3 KiB
Handlebars
<div class="chart-wrapper" data-test-usage-stats>
|
||
<div class="chart-header has-header-link has-bottom-margin-m">
|
||
<div class="header-left">
|
||
<h2 class="chart-title">{{@title}}</h2>
|
||
<p class="chart-description"> These totals are within this namespace and all its children. </p>
|
||
</div>
|
||
<div class="header-right">
|
||
<LearnLink @path="/tutorials/vault/usage-metrics">
|
||
Learn more
|
||
</LearnLink>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="columns">
|
||
<div class="column">
|
||
<StatText
|
||
@label="Total clients"
|
||
@value={{or @totalUsageCounts.clients "0"}}
|
||
@size="l"
|
||
@subText="The sum of entity clientIDs and non-entity clientIDs; this is Vault’s primary billing metric."
|
||
/>
|
||
</div>
|
||
<div class="column">
|
||
<StatText
|
||
class="column"
|
||
@label="Entity clients"
|
||
@value={{or @totalUsageCounts.entity_clients "0"}}
|
||
@size="l"
|
||
@subText="Representations of a particular user, client, or application that created a token via login."
|
||
/>
|
||
</div>
|
||
<div class="column">
|
||
<StatText
|
||
class="column"
|
||
@label="Non-entity clients"
|
||
@value={{or @totalUsageCounts.non_entity_clients "0"}}
|
||
@size="l"
|
||
@subText="Clients created with a shared set of permissions, but not associated with an entity. "
|
||
/>
|
||
</div>
|
||
</div>
|
||
</div> |