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
descriptionGets the description of this Metric. name[Required] Gets the name of this Metric. unitGets the unit of this Metric. value_sourceGets 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.
-
description¶ Gets the description of this Metric. A description of the metric.
Returns: The description of this Metric. Return type: str
-
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
-
unit¶ Gets the unit of this Metric. The unit of the metric.
Returns: The unit of this Metric. Return type: str
-
value_source¶ Gets the value_source of this Metric. This must not be set.
Returns: The value_source of this Metric. Return type: str
-