Condition class

A condition is a true/false test that determines when an alerting policy should open an incident.

If a condition evaluates to true, it signifies that something is wrong.

Constructors

Condition({MetricAbsence? conditionAbsent, LogMatch? conditionMatchedLog, MonitoringQueryLanguageCondition? conditionMonitoringQueryLanguage, PrometheusQueryLanguageCondition? conditionPrometheusQueryLanguage, MetricThreshold? conditionThreshold, String? displayName, String? name})
Condition.fromJson(Map json_)

Properties

conditionAbsent MetricAbsence?
A condition that checks that a time series continues to receive new data points.
getter/setter pair
conditionMatchedLog LogMatch?
A condition that checks for log messages matching given constraints.
getter/setter pair
conditionMonitoringQueryLanguage MonitoringQueryLanguageCondition?
A condition that uses the Monitoring Query Language to define alerts.
getter/setter pair
conditionPrometheusQueryLanguage PrometheusQueryLanguageCondition?
A condition that uses the Prometheus query language to define alerts.
getter/setter pair
conditionThreshold MetricThreshold?
A condition that compares a time series against a threshold.
getter/setter pair
displayName String?
A short name or phrase used to identify the condition in dashboards, notifications, and incidents.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Required if the condition exists.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited