DbManagementAnalyticsMetric¶
-
class
oci.database_management.models.DbManagementAnalyticsMetric(**kwargs)¶ Bases:
objectThe metric details of a Database Management resource.
Methods
__init__(**kwargs)Initializes a new DbManagementAnalyticsMetric object with values from keyword arguments. Attributes
dimensionsGets the dimensions of this DbManagementAnalyticsMetric. duration_in_secondsGets the duration_in_seconds of this DbManagementAnalyticsMetric. meanGets the mean of this DbManagementAnalyticsMetric. metadataGets the metadata of this DbManagementAnalyticsMetric. metric_nameGets the metric_name of this DbManagementAnalyticsMetric. start_timestamp_in_epoch_secondsGets the start_timestamp_in_epoch_seconds of this DbManagementAnalyticsMetric. -
__init__(**kwargs)¶ Initializes a new DbManagementAnalyticsMetric 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 DbManagementAnalyticsMetric.
- duration_in_seconds (int) – The value to assign to the duration_in_seconds property of this DbManagementAnalyticsMetric.
- metadata (dict(str, str)) – The value to assign to the metadata property of this DbManagementAnalyticsMetric.
- dimensions (dict(str, str)) – The value to assign to the dimensions property of this DbManagementAnalyticsMetric.
- start_timestamp_in_epoch_seconds (int) – The value to assign to the start_timestamp_in_epoch_seconds property of this DbManagementAnalyticsMetric.
- mean (float) – The value to assign to the mean property of this DbManagementAnalyticsMetric.
-
dimensions¶ Gets the dimensions of this DbManagementAnalyticsMetric. The qualifiers provided in the definition of the returned metric.
Returns: The dimensions of this DbManagementAnalyticsMetric. Return type: dict(str, str)
-
duration_in_seconds¶ Gets the duration_in_seconds of this DbManagementAnalyticsMetric. The duration of the returned aggregated data in seconds.
Returns: The duration_in_seconds of this DbManagementAnalyticsMetric. Return type: int
-
mean¶ Gets the mean of this DbManagementAnalyticsMetric. The mean value of the metric.
Returns: The mean of this DbManagementAnalyticsMetric. Return type: float
-
metadata¶ Gets the metadata of this DbManagementAnalyticsMetric. The additional information about the metric.
Example: “unit”: “bytes”
Returns: The metadata of this DbManagementAnalyticsMetric. Return type: dict(str, str)
-
metric_name¶ Gets the metric_name of this DbManagementAnalyticsMetric. The name of the metric.
Returns: The metric_name of this DbManagementAnalyticsMetric. Return type: str
-
start_timestamp_in_epoch_seconds¶ Gets the start_timestamp_in_epoch_seconds of this DbManagementAnalyticsMetric. The start time associated with the value of the metric.
Returns: The start_timestamp_in_epoch_seconds of this DbManagementAnalyticsMetric. Return type: int
-