MetricCollection¶
- class oci.log_analytics.models.MetricCollection(**kwargs)¶
Bases:
objectMetric collection specification.
Methods:
__init__(**kwargs)Initializes a new MetricCollection object with values from keyword arguments.
Attributes:
[Required] Gets the dimensions of this MetricCollection.
[Required] Gets the metric_name of this MetricCollection.
[Required] Gets the metric_query_field_name of this MetricCollection.
Gets the query_table_name of this MetricCollection.
- __init__(**kwargs)¶
Initializes a new MetricCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
metric_name (str) – The value to assign to the metric_name property of this MetricCollection.
query_table_name (str) – The value to assign to the query_table_name property of this MetricCollection.
metric_query_field_name (str) – The value to assign to the metric_query_field_name property of this MetricCollection.
dimensions (list[oci.log_analytics.models.DimensionField]) – The value to assign to the dimensions property of this MetricCollection.
- property dimensions¶
[Required] Gets the dimensions of this MetricCollection. Selected dimension fields for the metric collection.
- Returns
The dimensions of this MetricCollection.
- Return type
- property metric_name¶
[Required] Gets the metric_name of this MetricCollection. The metric name for this metric collection. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).
- Returns
The metric_name of this MetricCollection.
- Return type
str
- property metric_query_field_name¶
[Required] Gets the metric_query_field_name of this MetricCollection. Output field in the query to be used as the metric value.
- Returns
The metric_query_field_name of this MetricCollection.
- Return type
str
- property query_table_name¶
Gets the query_table_name of this MetricCollection. Output table in the query.
- Returns
The query_table_name of this MetricCollection.
- Return type
str