Skip to main content

setMetricThresholds

Custom Metric Thresholds management

setMetricThresholds(
input: SetOrUpdateMetricThresholdsInput
): SetOrUpdateMetricThresholdPayload

Example​

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

Arguments​

setMetricThresholds.input ● SetOrUpdateMetricThresholdsInput input common​

The environment, metric, and thresholds to create.

Type​

SetOrUpdateMetricThresholdPayload object common​

The result of setting or updating metric thresholds.