TimeSeriesMetricDataPoint¶
-
class
oci.database_management.models.
TimeSeriesMetricDataPoint
(**kwargs)¶ Bases:
object
The metric values with dimension details.
Methods
__init__
(**kwargs)Initializes a new TimeSeriesMetricDataPoint object with values from keyword arguments. Attributes
dimensions
Gets the dimensions of this TimeSeriesMetricDataPoint. timestamp
[Required] Gets the timestamp of this TimeSeriesMetricDataPoint. unit
[Required] Gets the unit of this TimeSeriesMetricDataPoint. value
[Required] Gets the value of this TimeSeriesMetricDataPoint. -
__init__
(**kwargs)¶ Initializes a new TimeSeriesMetricDataPoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - timestamp (datetime) – The value to assign to the timestamp property of this TimeSeriesMetricDataPoint.
- value (float) – The value to assign to the value property of this TimeSeriesMetricDataPoint.
- unit (str) – The value to assign to the unit property of this TimeSeriesMetricDataPoint.
- dimensions (list[oci.database_management.models.MetricDimensionDefinition]) – The value to assign to the dimensions property of this TimeSeriesMetricDataPoint.
-
dimensions
¶ Gets the dimensions of this TimeSeriesMetricDataPoint. The dimensions of the metric.
Returns: The dimensions of this TimeSeriesMetricDataPoint. Return type: list[oci.database_management.models.MetricDimensionDefinition]
-
timestamp
¶ [Required] Gets the timestamp of this TimeSeriesMetricDataPoint. The date and time the metric was created.
Returns: The timestamp of this TimeSeriesMetricDataPoint. Return type: datetime
-
unit
¶ [Required] Gets the unit of this TimeSeriesMetricDataPoint. The unit of the metric value.
Returns: The unit of this TimeSeriesMetricDataPoint. Return type: str
-
value
¶ [Required] Gets the value of this TimeSeriesMetricDataPoint. The value of the metric.
Returns: The value of this TimeSeriesMetricDataPoint. Return type: float
-