MetricThresholdInput
A single threshold rule for a metric.
input MetricThresholdInput {
duration: String
operator: String!
value: Float!
}
Fields
MetricThresholdInput.duration ● String scalar common
How long the threshold has to stay breached before an anomaly opens, as a Prometheus duration such as 5m (at least 1s, at most 24h). Omitted means the anomaly opens on the first breaching reading.
MetricThresholdInput.operator ● String! non-null scalar common
The comparison operator for the threshold.
MetricThresholdInput.value ● Float! non-null scalar common
The threshold value.