MetricDataPoint

class oci.database_management.models.MetricDataPoint(**kwargs)

Bases: object

The metric values with dimension details.

Methods:

__init__(**kwargs)

Initializes a new MetricDataPoint object with values from keyword arguments.

Attributes:

dimensions

Gets the dimensions of this MetricDataPoint.

unit

Gets the unit of this MetricDataPoint.

value

Gets the value of this MetricDataPoint.

__init__(**kwargs)

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

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

  • unit (str) – The value to assign to the unit property of this MetricDataPoint.

  • dimensions (list[oci.database_management.models.MetricDimensionDefinition]) – The value to assign to the dimensions property of this MetricDataPoint.

property dimensions

Gets the dimensions of this MetricDataPoint. The dimensions of the metric.

Returns

The dimensions of this MetricDataPoint.

Return type

list[oci.database_management.models.MetricDimensionDefinition]

property unit

Gets the unit of this MetricDataPoint. The unit of the metric value.

Returns

The unit of this MetricDataPoint.

Return type

str

property value

Gets the value of this MetricDataPoint. The value of the metric.

Returns

The value of this MetricDataPoint.

Return type

float