Add GDS metrics package to admin app

Follows the code from the API
This commit is contained in:
David McDonald
2020-06-30 11:31:56 +01:00
parent 6958c0d677
commit 043e6ac69c
6 changed files with 19 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ class Navigation:
def endpoints_without_navigation(self):
return tuple(
self._get_endpoint_with_blueprint(endpoint) for endpoint in self.exclude
) + ('static', 'status.show_status')
) + ('static', 'status.show_status', 'metrics')
def is_selected(self, navigation_item):
if request.endpoint in self.mapping[navigation_item]: