summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/alerts_settings/graphql/mutations/create_prometheus_integration.mutation.graphql
blob: bb22795ddd58ceda76b4b69912ca5a26d436365f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#import "../fragments/integration_item.fragment.graphql"

mutation createPrometheusIntegration($projectPath: ID!, $apiUrl: String!, $active: Boolean!) {
  prometheusIntegrationCreate(
    input: { projectPath: $projectPath, apiUrl: $apiUrl, active: $active }
  ) {
    errors
    integration {
      ...IntegrationItem
    }
  }
}