Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers/integrations_helpers.rb')
-rw-r--r--lib/api/helpers/integrations_helpers.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/helpers/integrations_helpers.rb b/lib/api/helpers/integrations_helpers.rb
index 8f846fe7348..a08337a86ac 100644
--- a/lib/api/helpers/integrations_helpers.rb
+++ b/lib/api/helpers/integrations_helpers.rb
@@ -698,6 +698,12 @@ module API
],
'prometheus' => [
{
+ required: false,
+ name: :manual_configuration,
+ type: ::Grape::API::Boolean,
+ desc: 'When enabled, the default settings will be overridden with your custom configuration'
+ },
+ {
required: true,
name: :api_url,
type: String,