summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issues/show/components/incidents/graphql/queries/get_alert.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/issues/show/components/incidents/graphql/queries/get_alert.graphql')
-rw-r--r--app/assets/javascripts/issues/show/components/incidents/graphql/queries/get_alert.graphql23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/assets/javascripts/issues/show/components/incidents/graphql/queries/get_alert.graphql b/app/assets/javascripts/issues/show/components/incidents/graphql/queries/get_alert.graphql
new file mode 100644
index 00000000000..d88633f2ae9
--- /dev/null
+++ b/app/assets/javascripts/issues/show/components/incidents/graphql/queries/get_alert.graphql
@@ -0,0 +1,23 @@
+query getAlert($iid: String!, $fullPath: ID!) {
+ project(fullPath: $fullPath) {
+ id
+ issue(iid: $iid) {
+ id
+ alertManagementAlert {
+ iid
+ title
+ detailsUrl
+ severity
+ status
+ startedAt
+ eventCount
+ monitoringTool
+ service
+ description
+ endedAt
+ hosts
+ details
+ }
+ }
+ }
+}