Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6c9879ca
Commit
6c9879ca
authored
Jan 29, 2020
by
Brandon Labuschagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default CA duration chart FF to true
parent
bd3f5d88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
changelogs/unreleased/36675-add-median-line-to-cycle-analytics-duration-chart.yml
...675-add-median-line-to-cycle-analytics-duration-chart.yml
+5
-0
doc/user/analytics/cycle_analytics.md
doc/user/analytics/cycle_analytics.md
+12
-5
ee/app/controllers/analytics/cycle_analytics_controller.rb
ee/app/controllers/analytics/cycle_analytics_controller.rb
+2
-2
No files found.
changelogs/unreleased/36675-add-median-line-to-cycle-analytics-duration-chart.yml
0 → 100644
View file @
6c9879ca
---
title
:
Add cycle analytics duration chart with median line
merge_request
:
23971
author
:
type
:
added
doc/user/analytics/cycle_analytics.md
View file @
6c9879ca
...
...
@@ -172,16 +172,23 @@ For example, if 30 days worth of data has been selected (for example, 2019-12-16
median line will represent the previous 30 days worth of data (2019-11-16 to 2019-12-16)
as a metric to compare against.
###
En
abling chart
###
Dis
abling chart
By default, this chart is disabled for self-managed instances. To enable it, ask
an
administrator
with Rails console access to run the following
:
This chart is enabled by default. If you have a self-managed instance,
an
administrator
can open a Rails console and disable it with the following command
:
```
ruby
Feature
.
en
able
(
:cycle_analytics_scatterplot_enabled
)
Feature
.
dis
able
(
:cycle_analytics_scatterplot_enabled
)
```
This chart is enabled by default on GitLab.com.
### Disabling chart median line
This chart median line is enabled by default. If you have a self-managed instance, an
administrator can open a Rails console and disable it with the following command:
```
ruby
Feature
.
disable
(
:cycle_analytics_scatterplot_median_enabled
)
```
## Permissions
...
...
ee/app/controllers/analytics/cycle_analytics_controller.rb
View file @
6c9879ca
...
...
@@ -6,8 +6,8 @@ class Analytics::CycleAnalyticsController < Analytics::ApplicationController
before_action
do
push_frontend_feature_flag
(
:customizable_cycle_analytics
)
push_frontend_feature_flag
(
:cycle_analytics_scatterplot_enabled
)
push_frontend_feature_flag
(
:cycle_analytics_scatterplot_median_enabled
)
push_frontend_feature_flag
(
:cycle_analytics_scatterplot_enabled
,
default_enabled:
true
)
push_frontend_feature_flag
(
:cycle_analytics_scatterplot_median_enabled
,
default_enabled:
true
)
push_frontend_feature_flag
(
:tasks_by_type_chart
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment