Commit 89e50706 authored by Dan Jensen's avatar Dan Jensen Committed by Bob Van Landuyt

Set low custom apdex for Value Stream Analytics

Value Stream Analytics is a data-intensive feature that users do not
expect to load as quickly as other resources. This sets a custom
apdex SLI urgency of "low" to allow for the feature's historically
relatively slower load times.
parent ca29fd87
......@@ -11,6 +11,8 @@ class Projects::Analytics::CycleAnalytics::StagesController < Projects::Applicat
before_action :authorize_read_cycle_analytics!
before_action :only_default_value_stream_is_allowed!
urgency :low
private
override :parent
......
......@@ -9,6 +9,8 @@ class Projects::Analytics::CycleAnalytics::SummaryController < Projects::Applica
before_action :authorize_read_cycle_analytics!
urgency :low
def show
render json: project_level.summary
end
......
......@@ -11,6 +11,8 @@ module Groups
before_action :validate_params, only: %i[median average records average_duration_chart count]
before_action :authorize_read_group_stage, only: %i[median average records average_duration_chart count]
urgency :low
override :index
def index
return render_403 unless can?(current_user, :read_group_cycle_analytics, @group)
......
......@@ -11,6 +11,8 @@ module Groups
before_action :authorize_access
before_action :validate_params
urgency :low
def show
render json: group_level.summary
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