Metric¶
- class oci.apm_config.models.Metric(**kwargs)¶
Bases:
objectA metric is a quantitative measurement of an entity.
Methods:
__init__(**kwargs)Initializes a new Metric object with values from keyword arguments.
Attributes:
Gets the description of this Metric.
[Required] Gets the name of this Metric.
Gets the unit of this Metric.
Gets the value_source of this Metric.
- __init__(**kwargs)¶
Initializes a new Metric object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this Metric.
value_source (str) – The value to assign to the value_source property of this Metric.
unit (str) – The value to assign to the unit property of this Metric.
description (str) – The value to assign to the description property of this Metric.
- property description¶
Gets the description of this Metric. A description of the metric.
- Returns
The description of this Metric.
- Return type
str
- property name¶
[Required] Gets the name of this Metric. The name of the metric. This must be a known metric name.
- Returns
The name of this Metric.
- Return type
str
- property unit¶
Gets the unit of this Metric. The unit of the metric.
- Returns
The unit of this Metric.
- Return type
str
- property value_source¶
Gets the value_source of this Metric. This must not be set.
- Returns
The value_source of this Metric.
- Return type
str