DbManagementAnalyticsMetric

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

Bases: object

The metric details of a Database Management resource.

Methods:

__init__(**kwargs)

Initializes a new DbManagementAnalyticsMetric object with values from keyword arguments.

Attributes:

dimensions

Gets the dimensions of this DbManagementAnalyticsMetric.

duration_in_seconds

Gets the duration_in_seconds of this DbManagementAnalyticsMetric.

mean

Gets the mean of this DbManagementAnalyticsMetric.

metadata

Gets the metadata of this DbManagementAnalyticsMetric.

metric_name

Gets the metric_name of this DbManagementAnalyticsMetric.

start_timestamp_in_epoch_seconds

Gets 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.

property 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)

property 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

property mean

Gets the mean of this DbManagementAnalyticsMetric. The mean value of the metric.

Returns

The mean of this DbManagementAnalyticsMetric.

Return type

float

property 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)

property metric_name

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

Returns

The metric_name of this DbManagementAnalyticsMetric.

Return type

str

property 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