summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql')
-rw-r--r--app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql b/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql
new file mode 100644
index 00000000000..1143050200c
--- /dev/null
+++ b/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql
@@ -0,0 +1,11 @@
+query getAlertsCount($projectPath: ID!) {
+ project(fullPath: $projectPath) {
+ alertManagementAlertStatusCounts {
+ all
+ open
+ acknowledged
+ resolved
+ triggered
+ }
+ }
+}