Commit dcea6675 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'djensen-remove-instance-statistics-warning' into 'master'

Add documentation for Instance Statistics feature flag

See merge request gitlab-org/gitlab!47454
parents 13a73325 86dd8e58
...@@ -6,7 +6,10 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -6,7 +6,10 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# Instance Statistics **(CORE)** # Instance Statistics **(CORE)**
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/235754) in GitLab 13.4. > - [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.
> - It's enabled on GitLab.com.
> - It's recommended for production use.
CAUTION: **Warning:** CAUTION: **Warning:**
This feature might not be available to you. Check the **version history** note above for details. This feature might not be available to you. Check the **version history** note above for details.
...@@ -36,3 +39,22 @@ in the categories shown in [Total counts](#total-counts). ...@@ -36,3 +39,22 @@ in the categories shown in [Total counts](#total-counts).
These charts help you visualize how rapidly these records are being created on your instance. 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) ![Instance Activity Pipelines chart](img/instance_activity_pipelines_chart_v13_6.png)
### Enable or disable Instance Statistics
In GitLab version 13.5 only, Instance Statistics 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)
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment