Commit 9eb27140 authored by Luke Duncalfe's avatar Luke Duncalfe

Update integrations endpoint custom apdex targets

This updates the `#test` and `#retry` actions for web hooks and
integrations to use the `low` urgency Apdex threshold (<5s at time of
commit).

See:
https://gitlab.com/gitlab-org/gitlab/-/issues/343602
parent 92da3893
......@@ -9,6 +9,7 @@ class Admin::HookLogsController < Admin::ApplicationController
respond_to :html
feature_category :integrations
urgency :low, [:retry]
def show
end
......
......@@ -6,6 +6,7 @@ class Admin::HooksController < Admin::ApplicationController
before_action :hook_logs, only: :edit
feature_category :integrations
urgency :low, [:test]
def index
@hooks = SystemHook.all
......
......@@ -8,6 +8,8 @@ module IntegrationsActions
include IntegrationsHelper
before_action :integration, only: [:edit, :update, :overrides, :test]
urgency :low, [:test]
end
def edit
......
......@@ -13,6 +13,7 @@ class Projects::HookLogsController < Projects::ApplicationController
layout 'project_settings'
feature_category :integrations
urgency :low, [:retry]
def show
end
......
......@@ -13,6 +13,7 @@ class Projects::HooksController < Projects::ApplicationController
layout "project_settings"
feature_category :integrations
urgency :low, [:test]
def index
@hooks = @project.hooks
......
......@@ -18,6 +18,7 @@ class Projects::ServicesController < Projects::ApplicationController
layout "project_settings"
feature_category :integrations
urgency :low, [:test]
def edit
end
......
......@@ -15,6 +15,7 @@ class Groups::HooksController < Groups::ApplicationController
layout 'group_settings'
feature_category :integrations
urgency :low, [:test]
def index
@hooks = @group.hooks
......
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