Metric
A Metric is a monitoring metric of a specific cloud service delivered from a DataSource.
Package : spaceone.api.monitoring.v1
Metric
Metric Methods:
Method
Request
Response
list
GET /monitoring/v1/data-source/{data_source_id}/metrics
Gets a list of all Metrics of one or more specified Resources. The parameter
resources
is a list of Resources from which to get a list of Metrics collected.
Type
Message
Request
Response
get_data
GET /monitoring/v1/data-source/{data_source_id}/metric-data
Gets data of a single Metric. You must specify the parameter
metric
to get data of. You can specify theperiod
to get data for.
Type
Message
Request
Response
Message
MetricDataInfo
Field
Type
Description
MetricDataRequest
Field
Type
Required
Description
data_source_id
string
✔
metric
string
✔
start
string
✔
end
string
✔
stat
string
✘
domain_id
string
✔
MetricInfo
Field
Type
Description
MetricRequest
Field
Type
Required
Description
data_source_id
string
✔
resources
list of string
✔
domain_id
string
✔
MetricsInfo
Field
Type
Description
Last updated