You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "Zhang, Kelly" <li...@paypal.com.INVALID> on 2019/04/24 03:27:07 UTC

Please help how to calculate the absoluteUsedCapacity of cluster by rest api in a period of time

Hi all:
   I want to ask a question about running queue api usage in eagle.
  What I want is to calculate the cluster usage of a period of time. I only find following api for specified queue.


https://xxxx/eagle-service/rest/list?query=RunningQueueService[@cluster<ht...@cluster>=“xxx” AND @datacenter=“xxx” AND @queue=“xxx”]{@queue,@parentQueue,@absoluteMaxCapacity,@absoluteCapacity,@absoluteUsedCapacity}&pageSize=10000&startTime=2019-04-18T13:04:00.106-07:00&endTime=2019-04-18T13:34:00.106-07:00&timeSeries=true&intervalmin=10<mailto:%7b@queue,@parentQueue,@absoluteMaxCapacity,@absoluteCapacity,@absoluteUsedCapacity%7d&pageSize=10000&startTime=2019-04-18T13:04:00.106-07:00&endTime=2019-04-18T13:34:00.106-07:00&timeSeries=true&intervalmin=10>






But how to get the whole usage ( absoluteUsedCapacity) of cluster by rest api in a period of time?





Best regards,

LiyunZhang/Kelly Zhang