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 ...@@ -5,6 +5,8 @@ class Admin::CohortsController < Admin::ApplicationController
feature_category :devops_reports feature_category :devops_reports
urgency :low
def index def index
@cohorts = load_cohorts @cohorts = load_cohorts
track_cohorts_visit track_cohorts_visit
......
...@@ -9,6 +9,8 @@ class Admin::DevOpsReportController < Admin::ApplicationController ...@@ -9,6 +9,8 @@ class Admin::DevOpsReportController < Admin::ApplicationController
feature_category :devops_reports feature_category :devops_reports
urgency :low
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
def show def show
@metric = DevOpsReport::Metric.order(:created_at).last&.present @metric = DevOpsReport::Metric.order(:created_at).last&.present
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
class Admin::InstanceReviewController < Admin::ApplicationController class Admin::InstanceReviewController < Admin::ApplicationController
feature_category :devops_reports feature_category :devops_reports
urgency :low
def index def index
redirect_to("#{Gitlab::SubscriptionPortal.subscriptions_instance_review_url}?#{instance_review_params}") redirect_to("#{Gitlab::SubscriptionPortal.subscriptions_instance_review_url}?#{instance_review_params}")
end end
......
...@@ -7,6 +7,8 @@ class Admin::UsageTrendsController < Admin::ApplicationController ...@@ -7,6 +7,8 @@ class Admin::UsageTrendsController < Admin::ApplicationController
feature_category :devops_reports feature_category :devops_reports
urgency :low
def index def index
end end
end end
...@@ -11,6 +11,8 @@ class Groups::InsightsController < Groups::ApplicationController ...@@ -11,6 +11,8 @@ class Groups::InsightsController < Groups::ApplicationController
feature_category :value_stream_management feature_category :value_stream_management
urgency :low
private private
def authorize_read_group! def authorize_read_group!
......
...@@ -13,6 +13,8 @@ class Projects::InsightsController < Projects::ApplicationController ...@@ -13,6 +13,8 @@ class Projects::InsightsController < Projects::ApplicationController
feature_category :value_stream_management feature_category :value_stream_management
urgency :low
private private
def insights_entity def insights_entity
......
...@@ -12,7 +12,7 @@ module API ...@@ -12,7 +12,7 @@ module API
desc 'Get the current application statistics' do desc 'Get the current application statistics' do
success Entities::ApplicationStatistics success Entities::ApplicationStatistics
end end
get "application/statistics" do get "application/statistics", urgency: :low do
counts = Gitlab::Database::Count.approximate_counts(COUNTED_ITEMS) counts = Gitlab::Database::Count.approximate_counts(COUNTED_ITEMS)
present counts, with: Entities::ApplicationStatistics present counts, with: Entities::ApplicationStatistics
end 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