35c188fba7
* Client count updates - Added Current month tab which leverages partial monthly activity api - Refactored Vault usage to Monthly history - New client count history component based on StatText and BarChart component - Restrict bar chart to showcase only top 10 namespaces - Removed config route, as config and history component will be rendered based on query param - Updated all metrics reference to clients - Removed old tests and added integration test for current month * Fixed navbar permission - Added changelog * Updated the model for current month data * Fixed current month tests * Fixed indentation and chart label
19 lines
400 B
JavaScript
19 lines
400 B
JavaScript
import Application from '../application';
|
|
|
|
export default Application.extend({
|
|
queryRecord() {
|
|
return this.ajax(this.urlForQuery(), 'GET').then(resp => {
|
|
resp.id = resp.request_id;
|
|
return resp;
|
|
});
|
|
},
|
|
|
|
urlForUpdateRecord() {
|
|
return this.buildURL() + '/internal/counters/config';
|
|
},
|
|
|
|
urlForQuery() {
|
|
return this.buildURL() + '/internal/counters/config';
|
|
},
|
|
});
|