AnomalyDataPoint

class oci.stack_monitoring.models.AnomalyDataPoint(**kwargs)

Bases: object

anomaly evaluation result fo the data point

Methods:

__init__(**kwargs)

Initializes a new AnomalyDataPoint object with values from keyword arguments.

Attributes:

anomaly

[Required] Gets the anomaly of this AnomalyDataPoint.

high

Gets the high of this AnomalyDataPoint.

low

Gets the low of this AnomalyDataPoint.

timestamp

[Required] Gets the timestamp of this AnomalyDataPoint.

value

[Required] Gets the value of this AnomalyDataPoint.

__init__(**kwargs)

Initializes a new AnomalyDataPoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • anomaly (float) – The value to assign to the anomaly property of this AnomalyDataPoint.

  • low (float) – The value to assign to the low property of this AnomalyDataPoint.

  • high (float) – The value to assign to the high property of this AnomalyDataPoint.

  • timestamp (datetime) – The value to assign to the timestamp property of this AnomalyDataPoint.

  • value (float) – The value to assign to the value property of this AnomalyDataPoint.

property anomaly

[Required] Gets the anomaly of this AnomalyDataPoint. if the value is anomaly or not 0 indicates not an anomaly -1 indicates value is below the threshold +1 indicates value is above the threshold

Returns

The anomaly of this AnomalyDataPoint.

Return type

float

property high

Gets the high of this AnomalyDataPoint. upper threshold for the metric value

Returns

The high of this AnomalyDataPoint.

Return type

float

property low

Gets the low of this AnomalyDataPoint. lower threshold for the metric value

Returns

The low of this AnomalyDataPoint.

Return type

float

property timestamp

[Required] Gets the timestamp of this AnomalyDataPoint. timestamp of when the metric was collected

Returns

The timestamp of this AnomalyDataPoint.

Return type

datetime

property value

[Required] Gets the value of this AnomalyDataPoint. value for the metric data point

Returns

The value of this AnomalyDataPoint.

Return type

float