Add Analytics area to admin panel
Problem to solve
We've previously introduced the instance statistics area in the top navbar. This icon is configurable to be publicly available or only available to admins.
We'd like to move away from a dedicated area for instance-level statistics: at the moment, it only has 2 features (Cohorts and DevOps Score) and looks neglected. The icon also looks a little out of place in the top navbar and can be improved.
Our plan is to design another place for instance-level things in our navigation, and open up instance-level analytics features to everyone on the instance. Until then, we should move instance-level analytics features to the admin panel so we can iterate on them more quickly for admins.
Proposal
Introduce an Analytics area in the admin panel, as the second item in the sidebar (between Overview and Monitoring).
Remove the option to toggle "instance statistics" in Admin > Settings > Metrics and profiling > Usage statistics
. Make the relevant views only viewable by an admin.