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
d3ff2fa5
Commit
d3ff2fa5
authored
Feb 10, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore exposure of legend property for events
parent
58131ac9
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
0 deletions
+29
-0
app/serializers/analytics_stage_entity.rb
app/serializers/analytics_stage_entity.rb
+1
-0
lib/gitlab/cycle_analytics/code_stage.rb
lib/gitlab/cycle_analytics/code_stage.rb
+4
-0
lib/gitlab/cycle_analytics/issue_stage.rb
lib/gitlab/cycle_analytics/issue_stage.rb
+4
-0
lib/gitlab/cycle_analytics/plan_stage.rb
lib/gitlab/cycle_analytics/plan_stage.rb
+4
-0
lib/gitlab/cycle_analytics/production_stage.rb
lib/gitlab/cycle_analytics/production_stage.rb
+4
-0
lib/gitlab/cycle_analytics/review_stage.rb
lib/gitlab/cycle_analytics/review_stage.rb
+4
-0
lib/gitlab/cycle_analytics/staging_stage.rb
lib/gitlab/cycle_analytics/staging_stage.rb
+4
-0
lib/gitlab/cycle_analytics/test_stage.rb
lib/gitlab/cycle_analytics/test_stage.rb
+4
-0
No files found.
app/serializers/analytics_stage_entity.rb
View file @
d3ff2fa5
...
...
@@ -2,6 +2,7 @@ class AnalyticsStageEntity < Grape::Entity
include
EntityDateHelper
expose
:title
expose
:legend
expose
:description
expose
:median
,
as: :value
do
|
stage
|
...
...
lib/gitlab/cycle_analytics/code_stage.rb
View file @
d3ff2fa5
...
...
@@ -13,6 +13,10 @@ module Gitlab
:code
end
def
legend
"Related Merge Requests"
end
def
description
"Time until first merge request"
end
...
...
lib/gitlab/cycle_analytics/issue_stage.rb
View file @
d3ff2fa5
...
...
@@ -14,6 +14,10 @@ module Gitlab
:issue
end
def
legend
"Related Issues"
end
def
description
"Time before an issue gets scheduled"
end
...
...
lib/gitlab/cycle_analytics/plan_stage.rb
View file @
d3ff2fa5
...
...
@@ -14,6 +14,10 @@ module Gitlab
:plan
end
def
legend
"Related Commits"
end
def
description
"Time before an issue starts implementation"
end
...
...
lib/gitlab/cycle_analytics/production_stage.rb
View file @
d3ff2fa5
...
...
@@ -15,6 +15,10 @@ module Gitlab
:production
end
def
legend
"Related Issues"
end
def
description
"From issue creation until deploy to production"
end
...
...
lib/gitlab/cycle_analytics/review_stage.rb
View file @
d3ff2fa5
...
...
@@ -13,6 +13,10 @@ module Gitlab
:review
end
def
legend
"Relative Merged Requests"
end
def
description
"Time between merge request creation and merge/close"
end
...
...
lib/gitlab/cycle_analytics/staging_stage.rb
View file @
d3ff2fa5
...
...
@@ -14,6 +14,10 @@ module Gitlab
:staging
end
def
legend
"Relative Deployed Builds"
end
def
description
"From merge request merge until deploy to production"
end
...
...
lib/gitlab/cycle_analytics/test_stage.rb
View file @
d3ff2fa5
...
...
@@ -13,6 +13,10 @@ module Gitlab
:test
end
def
legend
"Relative Builds Trigger by Commits"
end
def
description
"Total test time for all commits/merges"
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