0

I need to fetch all the compute metrics (CPUUtilization, MemoryUtilization, ....) in one rest api call. Currently, in documentation we can fetch only one metric related values at a time. Is there a way to achieve this?

Note: I need data for the last 10 minutes timestamp.

karthik_varma_k
  • 353
  • 4
  • 26

1 Answers1

0

Each SummarizeMetricsData API call can only get data about one metric. You would need to make multiple calls to get data about all the different metrics associated with an instance.

Joe
  • 2,500
  • 1
  • 14
  • 12
  • Currently, there are 8 compute metrics, 4 boot volume metrics, (n*4) block volume metrics and (m * 6) vnic metrics. n = Attached number of block volumes m = Attached number of vnic's There are a total of (8+4+n*4+m*6) metrics. It will take lot of time to call one by one. So, thought of any API to provide all the requested metrics in one go. It will be useful, if they provide. – karthik_varma_k May 08 '19 at 13:06
  • I will pass that feedback to the service team owner, thanks – Joe May 08 '19 at 18:20