diff options
Diffstat (limited to 'app/assets/javascripts/monitoring/queries/getDashboardValidationWarnings.query.graphql')
-rw-r--r-- | app/assets/javascripts/monitoring/queries/getDashboardValidationWarnings.query.graphql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/javascripts/monitoring/queries/getDashboardValidationWarnings.query.graphql b/app/assets/javascripts/monitoring/queries/getDashboardValidationWarnings.query.graphql new file mode 100644 index 00000000000..302383512d3 --- /dev/null +++ b/app/assets/javascripts/monitoring/queries/getDashboardValidationWarnings.query.graphql @@ -0,0 +1,18 @@ +query getDashboardValidationWarnings( + $projectPath: ID! + $environmentName: String + $dashboardPath: String! +) { + project(fullPath: $projectPath) { + id + environments(name: $environmentName) { + nodes { + name + metricsDashboard(path: $dashboardPath) { + path + schemaValidationWarnings + } + } + } + } +} |