Commit b6686ee5 authored by Bob Van Landuyt's avatar Bob Van Landuyt Committed by Luke Duncalfe

Set custom Apdex for triggerable integrations API

The ".../trigger" endpoints in the integrations API call external
services, so we lower the Apdex urgency to `low` for these endpoints.

https://gitlab.com/gitlab-org/gitlab/-/issues/343602
https://gitlab.com/gitlab-org/gitlab/-/issues/343602#note_716569607
parent b19cf899
...@@ -153,7 +153,7 @@ module API ...@@ -153,7 +153,7 @@ module API
requires setting[:name], type: setting[:type], desc: setting[:desc] requires setting[:name], type: setting[:type], desc: setting[:desc]
end end
end end
post "#{path}/#{integration_slug.underscore}/trigger" do post "#{path}/#{integration_slug.underscore}/trigger", urgency: :low do
project = find_project(params[:id]) project = find_project(params[:id])
# This is not accurate, but done to prevent leakage of the project names # This is not accurate, but done to prevent leakage of the project names
......
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