OperationalMetricsSource¶
- class oci.logging.models.OperationalMetricsSource(**kwargs)¶
Bases:
objectUnified monitoring agent operational metrics source object.
Attributes:
A constant which can be used with the type property of a OperationalMetricsSource.
Gets the metrics of this OperationalMetricsSource.
[Required] Gets the record_input of this OperationalMetricsSource.
[Required] Gets the type of this OperationalMetricsSource.
Methods:
__init__(**kwargs)Initializes a new OperationalMetricsSource object with values from keyword arguments.
- TYPE_UMA_METRICS = 'UMA_METRICS'¶
A constant which can be used with the type property of a OperationalMetricsSource. This constant has a value of “UMA_METRICS”
- __init__(**kwargs)¶
Initializes a new OperationalMetricsSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
type (str) – The value to assign to the type property of this OperationalMetricsSource. Allowed values for this property are: “UMA_METRICS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
metrics (list[str]) – The value to assign to the metrics property of this OperationalMetricsSource.
record_input (oci.logging.models.OperationalMetricsRecordInput) – The value to assign to the record_input property of this OperationalMetricsSource.
- property metrics¶
Gets the metrics of this OperationalMetricsSource. List of unified monitoring agent operational metrics.
- Returns
The metrics of this OperationalMetricsSource.
- Return type
list[str]
- property record_input¶
[Required] Gets the record_input of this OperationalMetricsSource.
- Returns
The record_input of this OperationalMetricsSource.
- Return type
- property type¶
[Required] Gets the type of this OperationalMetricsSource. Type of the unified monitoring agent operational metrics source object.
Allowed values for this property are: “UMA_METRICS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this OperationalMetricsSource.
- Return type
str