Metric
A Metric is a monitoring metric data delivered from an external cloud service via a DataSource.
Package : spaceone.api.monitoring.plugin
Metric
Metric Methods:
list
Gets a list of all Metrics from a specific cloud service. You can use the method to list up the Metrics to collect before using the get_data method to collect the Metrics.
get_data
Gets a Metric from a specific cloud service resource instance. By specifying the time period to collect the Metric, the Metric data value of the instance during the period is returned.
Message
MetricDataInfo
labels (ListValue)
Requiredvalues (Struct)
Required
MetricDataRequest
options (Struct)
Requiredsecret_data (Struct)
Requiredmetric_query (Struct)
Requiredmetric (string)
Requiredmetric identifier in case of requested metric info is not a single.
start (string)
Requiredend (string)
Requiredperiod (int32)
stat (string)
schema (string)
MetricInfo
key (string)
Requiredname (string)
Requiredgroup (string)
Requiredunit (Struct)
Requiredmetric_query (Struct)
Required
MetricRequest
options (Struct)
Requiredsecret_data (Struct)
Requiredquery (Struct)
Requiredschema (string)
MetricsInfo
metrics (MetricInfo)
RepeatedRequired
Last updated