NamespaceMetric¶
- 
class oci.apm_config.models.NamespaceMetric(**kwargs)¶
- Bases: - object- Metric associated with a namespace. - Attributes - TYPE_COUNTER- A constant which can be used with the type property of a NamespaceMetric. - TYPE_GAUGE- A constant which can be used with the type property of a NamespaceMetric. - name- [Required] Gets the name of this NamespaceMetric. - type- [Required] Gets the type of this NamespaceMetric. - unit- Gets the unit of this NamespaceMetric. - Methods - __init__(**kwargs)- Initializes a new NamespaceMetric object with values from keyword arguments. - 
TYPE_COUNTER= 'COUNTER'¶
- A constant which can be used with the type property of a NamespaceMetric. This constant has a value of “COUNTER” 
 - 
TYPE_GAUGE= 'GAUGE'¶
- A constant which can be used with the type property of a NamespaceMetric. This constant has a value of “GAUGE” 
 - 
__init__(**kwargs)¶
- Initializes a new NamespaceMetric 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 NamespaceMetric.
- type (str) – The value to assign to the type property of this NamespaceMetric. Allowed values for this property are: “COUNTER”, “GAUGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- unit (str) – The value to assign to the unit property of this NamespaceMetric.
 
 - 
name¶
- [Required] Gets the name of this NamespaceMetric. Name of the metric. - Returns: - The name of this NamespaceMetric. - Return type: - str 
 - 
type¶
- [Required] Gets the type of this NamespaceMetric. Type of metric. - Allowed values for this property are: “COUNTER”, “GAUGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’. - Returns: - The type of this NamespaceMetric. - Return type: - str 
 - 
unit¶
- Gets the unit of this NamespaceMetric. Unit of the metric. - Returns: - The unit of this NamespaceMetric. - Return type: - str 
 
-