62 lines
2.1 KiB
Markdown
62 lines
2.1 KiB
Markdown
|
---
|
||
|
stage: Manage
|
||
|
group: Value Stream Management
|
||
|
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
|
||
|
---
|
||
|
|
||
|
# Usage Trends **(CORE)**
|
||
|
|
||
|
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/235754) in GitLab 13.5 behind a feature flag, disabled by default.
|
||
|
> - [Became enabled by default](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46962) in GitLab 13.6.
|
||
|
> - [Renamed](https://gitlab.com/gitlab-org/gitlab/-/issues/285220) from Instance Statistics to Usage Trends in GitLab 13.6.
|
||
|
> - It's enabled on GitLab.com.
|
||
|
> - It's recommended for production use.
|
||
|
|
||
|
CAUTION: **Warning:**
|
||
|
This feature might not be available to you. Check the **version history** note above for details.
|
||
|
|
||
|
Usage Trends gives you an overview of how much data your instance contains, and how quickly this volume is changing over time.
|
||
|
|
||
|
To see Usage Trends, go to **Admin Area > Analytics > Usage Trends**.
|
||
|
|
||
|
## Total counts
|
||
|
|
||
|
At the top of the page, Usage Trends shows total counts for:
|
||
|
|
||
|
- Users
|
||
|
- Projects
|
||
|
- Groups
|
||
|
- Issues
|
||
|
- Merge Requests
|
||
|
- Pipelines
|
||
|
|
||
|
These figures can be useful for understanding how much data your instance contains in total.
|
||
|
|
||
|
## Past year trend charts
|
||
|
|
||
|
Usage Trends also displays line charts that show total counts per month, over the past 12 months,
|
||
|
in the categories shown in [Total counts](#total-counts).
|
||
|
|
||
|
These charts help you visualize how rapidly these records are being created on your instance.
|
||
|
|
||
|
![Instance Activity Pipelines chart](img/instance_activity_pipelines_chart_v13_6.png)
|
||
|
|
||
|
### Enable or disable Usage Trends
|
||
|
|
||
|
In GitLab version 13.5 only, Usage Trends was under development and not ready for production use.
|
||
|
It was deployed behind a feature flag that was **disabled by default**.
|
||
|
[GitLab administrators with access to the GitLab Rails console](../../../administration/feature_flags.md)
|
||
|
can opt to enable it.
|
||
|
|
||
|
To enable it:
|
||
|
|
||
|
```ruby
|
||
|
Feature.enable(:instance_statistics)
|
||
|
```
|
||
|
|
||
|
To disable it:
|
||
|
|
||
|
```ruby
|
||
|
Feature.disable(:instance_statistics)
|
||
|
```
|