SummarizedMetricData

class oci.oci_control_center.models.SummarizedMetricData(**kwargs)

Bases: object

The recorded metric value at a specific timestamp.

Methods

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

Attributes

aggregated_value Gets the aggregated_value of this SummarizedMetricData.
aggregation_method Gets the aggregation_method of this SummarizedMetricData.
dimensions Gets the dimensions of this SummarizedMetricData.
resolution Gets the resolution of this SummarizedMetricData.
sample_time Gets the sample_time of this SummarizedMetricData.
__init__(**kwargs)

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

Parameters:
  • sample_time (datetime) – The value to assign to the sample_time property of this SummarizedMetricData.
  • resolution (str) – The value to assign to the resolution property of this SummarizedMetricData.
  • dimensions (dict(str, DimensionValue)) – The value to assign to the dimensions property of this SummarizedMetricData.
  • aggregation_method (str) – The value to assign to the aggregation_method property of this SummarizedMetricData.
  • aggregated_value (float) – The value to assign to the aggregated_value property of this SummarizedMetricData.
aggregated_value

Gets the aggregated_value of this SummarizedMetricData. The aggregated metric value for the specified request.

Returns:The aggregated_value of this SummarizedMetricData.
Return type:float
aggregation_method

Gets the aggregation_method of this SummarizedMetricData. The aggregation method used for aggregating the metric values. The aggregation method depends on the metric itself.

Returns:The aggregation_method of this SummarizedMetricData.
Return type:str
dimensions

Gets the dimensions of this SummarizedMetricData. Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace.

Returns:The dimensions of this SummarizedMetricData.
Return type:dict(str, DimensionValue)
resolution

Gets the resolution of this SummarizedMetricData. The duration over which the metric data is aggregated. Supported values: 1m-60m, 1h-24h, 1d.

Returns:The resolution of this SummarizedMetricData.
Return type:str
sample_time

Gets the sample_time of this SummarizedMetricData. The time at which the metric data was recorded.

Returns:The sample_time of this SummarizedMetricData.
Return type:datetime