mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Ui/pricing metrics page setup (#10049)
* Create model and adapter for metrics/activity * Query activity and return fake data on adapterError * Add stub of pricing metrics cards and search form elements to metrics template * Metrics page has pricing metrics rather than all-time tokens and requests * update metrics config model * Add metrics-config route and page * Remove metrics/http-requests route and template * remove log * Add alert banner for when tracking disabled, and add result dates * Small edits
This commit is contained in:
@@ -15,10 +15,7 @@ Router.map(function() {
|
||||
this.route('logout');
|
||||
this.mount('open-api-explorer', { path: '/api-explorer' });
|
||||
this.route('license');
|
||||
this.route('metrics', function() {
|
||||
this.route('index', { path: '/' });
|
||||
this.route('http-requests');
|
||||
});
|
||||
this.route('metrics');
|
||||
this.route('storage', { path: '/storage/raft' });
|
||||
this.route('storage-restore', { path: '/storage/raft/restore' });
|
||||
this.route('settings', function() {
|
||||
@@ -137,6 +134,7 @@ Router.map(function() {
|
||||
}
|
||||
|
||||
this.route('not-found', { path: '/*path' });
|
||||
this.route('metrics-config');
|
||||
});
|
||||
this.route('not-found', { path: '/*path' });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user