Threshold(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines a threshold for categorizing time series values. .. attribute:: label
A label for the threshold.
:type: str
Attributes | |
---|---|
Name | Description |
value |
float
The value of the threshold. The value should be defined in the native scale of the metric. |
color |
google.cloud.monitoring_dashboard_v1.types.Threshold.Color
The state color for this threshold. Color is not allowed in a XyChart. |
direction |
google.cloud.monitoring_dashboard_v1.types.Threshold.Direction
The direction for the current threshold. Direction is not allowed in a XyChart. |
Classes
Color
Color(value)
The color suggests an interpretation to the viewer when actual values cross the threshold. Comments on each color provide UX guidance on how users can be expected to interpret a given state color.
Direction
Direction(value)
Whether the threshold is considered crossed by an actual value above or below its threshold value.