gitlab-org--gitlab-foss/app/assets/javascripts/alerts_settings/graphql/mutations/create_prometheus_integrati...

13 lines
331 B
GraphQL

#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
}
}
}