Skip to main content

updateMetricThresholds

Update metric thresholds for an environment.

updateMetricThresholds(
input: SetOrUpdateMetricThresholdsInput
): SetOrUpdateMetricThresholdPayload

Example

mutation ($input: SetOrUpdateMetricThresholdsInput) {
updateMetricThresholds(input: $input) {
success
thresholds {
id
metricName
operator
value
}
}
}

Arguments

updateMetricThresholds.input ● SetOrUpdateMetricThresholdsInput input common

The environment, metric, and thresholds to update.

Type

SetOrUpdateMetricThresholdPayload object common

The result of setting or updating metric thresholds.