Commit 6c23a857 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'set-optimize-endpoints-urgency-to-low' into 'master'

Set Optimize endpoints urgency to low

See merge request gitlab-org/gitlab!82199
parents 6e12bef5 00ce4f57
......@@ -5,6 +5,8 @@ class Admin::CohortsController < Admin::ApplicationController
feature_category :devops_reports
urgency :low
def index
@cohorts = load_cohorts
track_cohorts_visit
......
......@@ -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
......
......@@ -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
......
......@@ -7,6 +7,8 @@ class Admin::UsageTrendsController < Admin::ApplicationController
feature_category :devops_reports
urgency :low
def index
end
end
......@@ -11,6 +11,8 @@ class Groups::InsightsController < Groups::ApplicationController
feature_category :value_stream_management
urgency :low
private
def authorize_read_group!
......
......@@ -13,6 +13,8 @@ class Projects::InsightsController < Projects::ApplicationController
feature_category :value_stream_management
urgency :low
private
def insights_entity
......
......@@ -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
......
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