MetricBoundaryCondition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ValueCondition.
public class MetricBoundaryCondition
type MetricBoundaryCondition = class
Public Class MetricBoundaryCondition
- Inheritance
-
MetricBoundaryCondition
Constructors
MetricBoundaryCondition(BoundaryDirection) |
Initializes a new instance of the MetricBoundaryCondition class. |
Properties
CompanionMetricId |
If set, this MetricBoundaryCondition will make use of the value of another metric, specified by this ID, when checking boundaries. A data point of the companion metric with same dimensions and same timestamp will be used instead and, if out of range, the current data point can be included in an alert. You can set the property ShouldAlertIfDataPointMissing to tell the service what to do when the data point in the companion metric is missing. |
Direction |
Sets the boundaries that delimit the expected value range of a MetricBoundaryCondition. Data points out of this range can be included in an alert. If Down or Both, LowerBound is required. If Up or Both, UpperBound is required. |
LowerBound |
The minimum value of the boundary where a data point is allowed to be. If below this value, the point can be included in an alert. Must be set if Direction is Down or Both. |
MeasureType |
Specifies which measure should be used when checking boundaries. Defaults to Value. |
ShouldAlertIfDataPointMissing |
This property can be used when CompanionMetricId is defined to tell the service what to do when
the data point in the companion metric is missing. If |
UpperBound |
The maximum value of the boundary where a data point is allowed to be. If above this value, the point can be included in an alert. Must be set if Direction is Up or Both. |
Applies to
Azure SDK for .NET