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
00ce4f57
Commit
00ce4f57
authored
Mar 04, 2022
by
Brandon Labuschagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set Optimize endpoints urgency to low
parent
e0390958
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
1 deletion
+13
-1
app/controllers/admin/cohorts_controller.rb
app/controllers/admin/cohorts_controller.rb
+2
-0
app/controllers/admin/dev_ops_report_controller.rb
app/controllers/admin/dev_ops_report_controller.rb
+2
-0
app/controllers/admin/instance_review_controller.rb
app/controllers/admin/instance_review_controller.rb
+2
-0
app/controllers/admin/usage_trends_controller.rb
app/controllers/admin/usage_trends_controller.rb
+2
-0
ee/app/controllers/groups/insights_controller.rb
ee/app/controllers/groups/insights_controller.rb
+2
-0
ee/app/controllers/projects/insights_controller.rb
ee/app/controllers/projects/insights_controller.rb
+2
-0
lib/api/statistics.rb
lib/api/statistics.rb
+1
-1
No files found.
app/controllers/admin/cohorts_controller.rb
View file @
00ce4f57
...
...
@@ -5,6 +5,8 @@ class Admin::CohortsController < Admin::ApplicationController
feature_category
:devops_reports
urgency
:low
def
index
@cohorts
=
load_cohorts
track_cohorts_visit
...
...
app/controllers/admin/dev_ops_report_controller.rb
View file @
00ce4f57
...
...
@@ -9,6 +9,8 @@ class Admin::DevOpsReportController < Admin::ApplicationController
feature_category
:devops_reports
urgency
:low
# rubocop: disable CodeReuse/ActiveRecord
def
show
@metric
=
DevOpsReport
::
Metric
.
order
(
:created_at
).
last
&
.
present
...
...
app/controllers/admin/instance_review_controller.rb
View file @
00ce4f57
...
...
@@ -2,6 +2,8 @@
class
Admin::InstanceReviewController
<
Admin
::
ApplicationController
feature_category
:devops_reports
urgency
:low
def
index
redirect_to
(
"
#{
Gitlab
::
SubscriptionPortal
.
subscriptions_instance_review_url
}
?
#{
instance_review_params
}
"
)
end
...
...
app/controllers/admin/usage_trends_controller.rb
View file @
00ce4f57
...
...
@@ -7,6 +7,8 @@ class Admin::UsageTrendsController < Admin::ApplicationController
feature_category
:devops_reports
urgency
:low
def
index
end
end
ee/app/controllers/groups/insights_controller.rb
View file @
00ce4f57
...
...
@@ -11,6 +11,8 @@ class Groups::InsightsController < Groups::ApplicationController
feature_category
:value_stream_management
urgency
:low
private
def
authorize_read_group!
...
...
ee/app/controllers/projects/insights_controller.rb
View file @
00ce4f57
...
...
@@ -13,6 +13,8 @@ class Projects::InsightsController < Projects::ApplicationController
feature_category
:value_stream_management
urgency
:low
private
def
insights_entity
...
...
lib/api/statistics.rb
View file @
00ce4f57
...
...
@@ -12,7 +12,7 @@ module API
desc
'Get the current application statistics'
do
success
Entities
::
ApplicationStatistics
end
get
"application/statistics"
do
get
"application/statistics"
,
urgency: :low
do
counts
=
Gitlab
::
Database
::
Count
.
approximate_counts
(
COUNTED_ITEMS
)
present
counts
,
with:
Entities
::
ApplicationStatistics
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