Skip to main content

MetricThreshold

A metric threshold configured for an environment.

type MetricThreshold {
duration: String
id: Int!
metricName: String!
operator: String!
value: Float!
}

Fields​

MetricThreshold.duration ● String scalar common​

How long the threshold has to stay breached before an anomaly opens, as a Prometheus duration such as 5m. Null when the anomaly opens on the first breaching reading.

MetricThreshold.id ● Int! non-null scalar common​

The unique identifier for the threshold.

MetricThreshold.metricName ● String! non-null scalar common​

The metric name the threshold applies to.

MetricThreshold.operator ● String! non-null scalar common​

The comparison operator for the threshold.

MetricThreshold.value ● Float! non-null scalar common​

The threshold value.

Member Of​

AppEnvironment object ● SetOrUpdateMetricThresholdPayload object