VSD - Adding "Language Usage" panel for instance level.
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=424859) </details> <!--IssueSummary end--> ## Problem Many companies are trying to move away from using certain languages and would like to have a way to monitor their progress using their repo information. Right now we only provide a snapshot of languages used at a project level in percentage, which is difficult to aggregate - it doesn't even give file or LOC count. This means customers need to find innovative ways to load their repos information across the instance, which is time consuming and inefficient. Moreover, reporting [LOC](https://gitlab.com/gitlab-org/gitlab-ce/issues/31010) is one of our most highly voted issues in the CE community with more than 350 votes. Today, the [repository analytics](https://docs.gitlab.com/ee/user/analytics/repository_analytics.html) is only on the project level. ### Intended users EM, PM when overseeing refactoring, Executives ## Proposal ~frontend : 1. Adding new panel with 2 charts - **Current Language Usage** and **Language Usage Trend** to show how it changed through time. 2. By default, the panel shows percentages, but user can also view data as numbers of files or lines of code. ![Screen_Shot_2019-08-05_at_5.24.50_PM](/uploads/817cb5c613f087d258187ad8e85852e0/Screen_Shot_2019-08-05_at_5.24.50_PM.png) ~backend : Continue the work from this [issue](https://gitlab.com/gitlab-org/gitlab/-/issues/12104): 1. Every day/week take the current language stats and store them with a timestamp. 1. Expose a GraphQL API. 1. FE visualizes the trend. ## Validation - https://gitlab.com/gitlab-com/account-management/eastern-north-america/charter-communications/-/issues/51#request-from-marcelcharter - https://gitlab.com/gitlab-org/gitlab/-/issues/4527#note_1523510091 - https://gitlab.com/gitlab-com/user-interviews/-/issues/28#note_1370183837 - https://gitlab.com/gitlab-org/gitlab/-/issues/4527#note_1274898163 -
issue