FleetMetricDefinition

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

Bases: object

The database metric details.

Methods

__init__(**kwargs) Initializes a new FleetMetricDefinition object with values from keyword arguments.

Attributes

baseline_value Gets the baseline_value of this FleetMetricDefinition.
dimensions Gets the dimensions of this FleetMetricDefinition.
metric_name Gets the metric_name of this FleetMetricDefinition.
percentage_change Gets the percentage_change of this FleetMetricDefinition.
target_value Gets the target_value of this FleetMetricDefinition.
timestamp Gets the timestamp of this FleetMetricDefinition.
unit Gets the unit of this FleetMetricDefinition.
__init__(**kwargs)

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

Parameters:
  • metric_name (str) – The value to assign to the metric_name property of this FleetMetricDefinition.
  • baseline_value (float) – The value to assign to the baseline_value property of this FleetMetricDefinition.
  • target_value (float) – The value to assign to the target_value property of this FleetMetricDefinition.
  • unit (str) – The value to assign to the unit property of this FleetMetricDefinition.
  • timestamp (datetime) – The value to assign to the timestamp property of this FleetMetricDefinition.
  • percentage_change (float) – The value to assign to the percentage_change property of this FleetMetricDefinition.
  • dimensions (list[oci.database_management.models.MetricDimensionDefinition]) – The value to assign to the dimensions property of this FleetMetricDefinition.
baseline_value

Gets the baseline_value of this FleetMetricDefinition. The baseline value of the metric.

Returns:The baseline_value of this FleetMetricDefinition.
Return type:float
dimensions

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

Returns:The dimensions of this FleetMetricDefinition.
Return type:list[oci.database_management.models.MetricDimensionDefinition]
metric_name

Gets the metric_name of this FleetMetricDefinition. The name of the metric.

Returns:The metric_name of this FleetMetricDefinition.
Return type:str
percentage_change

Gets the percentage_change of this FleetMetricDefinition. The percentage change in the metric aggregated value compared to the baseline value.

Returns:The percentage_change of this FleetMetricDefinition.
Return type:float
target_value

Gets the target_value of this FleetMetricDefinition. The target value of the metric.

Returns:The target_value of this FleetMetricDefinition.
Return type:float
timestamp

Gets the timestamp of this FleetMetricDefinition. The data point date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.

Returns:The timestamp of this FleetMetricDefinition.
Return type:datetime
unit

Gets the unit of this FleetMetricDefinition. The unit of the value.

Returns:The unit of this FleetMetricDefinition.
Return type:str