2022-01-24 20:35:46 +00:00
|
|
|
<div class="box is-sideless is-fullwidth is-marginless is-bottomless">
|
|
|
|
<p class="has-bottom-margin-s">
|
2022-02-02 19:46:59 +00:00
|
|
|
The below data is for the current month starting from the first day. For historical data, see the history tab.
|
2022-01-24 20:35:46 +00:00
|
|
|
</p>
|
|
|
|
{{#if (eq @model.config.enabled "Off")}}
|
|
|
|
<EmptyState
|
|
|
|
@title="Tracking is disabled"
|
|
|
|
@message="Tracking is disabled and data is not being collected. To turn it on edit the configuration."
|
|
|
|
>
|
|
|
|
{{#if @model.config.configPath.canUpdate}}
|
2022-02-08 21:07:04 +00:00
|
|
|
<LinkTo @route="vault.cluster.clients.config">
|
2022-01-24 20:35:46 +00:00
|
|
|
Go to configuration
|
|
|
|
</LinkTo>
|
|
|
|
{{/if}}
|
|
|
|
</EmptyState>
|
2022-02-10 20:51:50 +00:00
|
|
|
{{else if this.isGatheringData}}
|
|
|
|
<EmptyState
|
|
|
|
@title="No data received"
|
|
|
|
@message="Tracking is turned on and Vault is gathering data. It should appear here within 30 minutes."
|
|
|
|
/>
|
2022-03-02 18:44:41 +00:00
|
|
|
{{else if (eq @model.monthly.id "no-data")}}
|
|
|
|
<EmptyState
|
|
|
|
@title="No data available"
|
|
|
|
@message="Tracking may be turned off. Check with your administrator or check back later."
|
|
|
|
/>
|
2022-01-24 20:35:46 +00:00
|
|
|
{{else}}
|
2022-02-08 21:07:04 +00:00
|
|
|
<div class="is-subtitle-gray has-bottom-margin-m">
|
|
|
|
FILTERS
|
|
|
|
<Toolbar>
|
2022-02-24 20:04:40 +00:00
|
|
|
<ToolbarFilters data-test-clients-filter-bar>
|
2022-02-08 21:07:04 +00:00
|
|
|
<SearchSelect
|
|
|
|
@id="namespace-search-select-monthly"
|
|
|
|
@options={{this.namespaceArray}}
|
|
|
|
@selectLimit="1"
|
|
|
|
@disallowNewItems={{true}}
|
|
|
|
@fallbackComponent="input-search"
|
|
|
|
@onChange={{this.selectNamespace}}
|
|
|
|
@placeholder={{"Filter by namespace"}}
|
|
|
|
@displayInherit={{true}}
|
2022-02-17 20:17:59 +00:00
|
|
|
class="is-marginless"
|
2022-02-08 21:07:04 +00:00
|
|
|
/>
|
2022-02-24 20:04:40 +00:00
|
|
|
{{#if (not (is-empty this.authMethodOptions))}}
|
2022-02-17 20:17:59 +00:00
|
|
|
<SearchSelect
|
|
|
|
@id="auth-method-search-select"
|
|
|
|
@options={{this.authMethodOptions}}
|
|
|
|
@selectLimit="1"
|
|
|
|
@disallowNewItems={{true}}
|
|
|
|
@fallbackComponent="input-search"
|
|
|
|
@onChange={{this.setAuthMethod}}
|
|
|
|
@placeholder={{"Filter by auth method"}}
|
|
|
|
@displayInherit={{true}}
|
|
|
|
/>
|
|
|
|
{{/if}}
|
2022-02-08 21:07:04 +00:00
|
|
|
</ToolbarFilters>
|
|
|
|
</Toolbar>
|
|
|
|
</div>
|
2022-04-25 17:23:12 +00:00
|
|
|
{{#if this.upgradeDuringCurrentMonth}}
|
2022-02-08 18:12:23 +00:00
|
|
|
<AlertBanner @type="warning" @title="Warning">
|
2022-04-25 17:23:12 +00:00
|
|
|
{{this.upgradeVersionAndDate}}
|
|
|
|
{{this.versionSpecificText}}
|
2022-02-08 18:12:23 +00:00
|
|
|
<DocLink @path="/docs/concepts/client-count/faq#q-which-vault-version-reflects-the-most-accurate-client-counts">
|
2022-04-25 17:23:12 +00:00
|
|
|
Learn more here.
|
2022-02-08 18:12:23 +00:00
|
|
|
</DocLink>
|
|
|
|
</AlertBanner>
|
|
|
|
{{/if}}
|
2022-02-14 18:30:48 +00:00
|
|
|
{{#if this.totalUsageCounts}}
|
|
|
|
<Clients::UsageStats
|
|
|
|
@title={{date-format this.responseTimestamp "MMMM"}}
|
|
|
|
@totalUsageCounts={{this.totalUsageCounts}}
|
|
|
|
/>
|
|
|
|
{{#if this.hasAttributionData}}
|
|
|
|
<Clients::Attribution
|
|
|
|
@chartLegend={{this.chartLegend}}
|
2022-02-02 19:46:59 +00:00
|
|
|
@totalUsageCounts={{this.totalUsageCounts}}
|
2022-04-15 19:06:10 +00:00
|
|
|
@newUsageCounts={{this.newUsageCounts}}
|
2022-05-03 01:37:09 +00:00
|
|
|
@totalClientAttribution={{this.totalClientAttribution}}
|
2022-02-14 18:30:48 +00:00
|
|
|
@selectedNamespace={{this.selectedNamespace}}
|
|
|
|
@startTimeDisplay={{date-format this.responseTimestamp "MMMM yyyy"}}
|
2022-05-03 01:37:09 +00:00
|
|
|
@isCurrentMonth={{true}}
|
2022-02-14 18:30:48 +00:00
|
|
|
@isDateRange={{false}}
|
|
|
|
@timestamp={{this.responseTimestamp}}
|
2022-02-02 19:46:59 +00:00
|
|
|
/>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2022-01-24 20:35:46 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|