summaryrefslogtreecommitdiff
path: root/app/graphql/types/alert_management/integration_type_enum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/alert_management/integration_type_enum.rb')
-rw-r--r--app/graphql/types/alert_management/integration_type_enum.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/graphql/types/alert_management/integration_type_enum.rb b/app/graphql/types/alert_management/integration_type_enum.rb
new file mode 100644
index 00000000000..2f9be549e58
--- /dev/null
+++ b/app/graphql/types/alert_management/integration_type_enum.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module Types
+ module AlertManagement
+ class IntegrationTypeEnum < BaseEnum
+ graphql_name 'AlertManagementIntegrationType'
+ description 'Values of types of integrations'
+
+ value 'PROMETHEUS', 'Prometheus integration', value: :prometheus
+ value 'HTTP', 'Integration with any monitoring tool', value: :http
+ end
+ end
+end