I need to get the TPS / TPM Count for Api Proxy or Proxies in an ORG .
Do we have any management api call to get the TPS value ?
As a word around i have created custom report and have in metrics i see we have 4 Aggregate options to choose SUM , AVERAGE , MIN , MAX .Which is the one that needs to be choosed for Avrage TPS .
Also Once we create this custom report , there should be management api call to call this report and get the values for API Proxy. So i need the API Call for this .
Hi @Madhumita Kumari - In Custom report, there is a metrics for Average TPS
The Mgmt API for getting the info is documented here
You can provide the required qp and that should give you the info. For example
curl -X GET --header "Authorization: Basic *****" "https://api.enterprise.apigee.com/v1/organizations/{org}/environments/{env}/stats/apis?select=tps&timeRange=06%2F01%2F2016%2000%3A00~06%2F20%2F2016%2023%3A59&timeUnit=day"
More info documented here
Hope this helps !