查看 Apigee Edge 說明文件。
前往
Apigee X說明文件。 資訊
這些範例使用兩個 Edge API:
- 取得指標 會傳回機構和環境的每個時間間隔指標。
- 取得依維度排序的指標 會傳回每個時間間隔的指標 (按維度分組),並視需要篩選結果。
使用這些 API 時:
- 將
email:password
替換成 Apigee 帳戶的使用者名稱和密碼 前往 https://apigee.com/edge。 請將
myorg
替換成您的 Apigee 機構名稱,您可以找到 並登入 https://apigee.com/edge。如果沒有 Apigee 帳戶,可以在以下位置註冊一個帳戶: https://login.apigee.com/sign__up.
- 下列要求假設環境為「prod」。如需使用另一個
環境 (例如「test」) 時,請將
/e/prod
修改為/e/test
。
如要進一步瞭解這些範例中使用的 API 呼叫,請參閱 使用 Metrics API 評估 API 計畫成效。
API 數據分析指令
要求數量 (依 API 區分)
各種 API 的要求比率
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的回應時間
平均觀看總回應時間 (依 API 區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的總回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最長回應時間 (依 API)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看各 API 的目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的目標回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最低目標回應時間 (依 API 區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
依 API 區分的錯誤
依 API 區別的錯誤
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
依 API 區分的要求/回應大小
各 API 的要求大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
不同 API 的要求大小下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的平均要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的回應大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的回應大小下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的平均回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的要求/回應延遲時間
平均觀看各 API 的回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的回應處理延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的最小回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看各 API 的要求處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 的要求處理延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最低要求處理延遲時間 (依 API 區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apis?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員數據分析指令
開發人員的應用程式/使用者/要求數量
開發人員的應用程式數量
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=app_count&timeRange=9/24/2014%2000:00~10/25/2014%2000:00&timeUnit=day -u email:password
使用者人數 (依開發人員區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=user_count&timeRange=9/24/2014%2000:00~10/25/2014%2000:00&timeUnit=day -u email:password
開發人員提出的要求
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的回應時間
平均觀看開發人員的總回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的總回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的最短總回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看開發人員的目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的目標回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的最短目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的錯誤
開發人員的錯誤
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員提出的要求/回應大小
開發人員的請求大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員提出的最小要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的平均要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的回應大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員回應的最小回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的平均回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的要求/回應延遲時間
平均觀看開發人員的回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的最大回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員的最低迴應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看開發人員的要求處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員提出的最低要求處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/devs?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
應用程式分析指令
各個應用程式的使用者人數/要求計數
使用者人數 (按應用程式劃分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=user_count&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
應用程式要求數
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的回應時間
平均觀看各應用程式的總回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的總回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的總回應時間下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看各應用程式的目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的目標回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的最短目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
錯誤 (依應用程式區分)
應用程式錯誤
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各種應用程式的要求/回應大小
各應用程式的要求大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的要求大小下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的平均要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的回應大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
回應大小下限 (依應用程式區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的平均回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各個應用程式的要求/回應延遲時間
平均觀看各應用程式的回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式回應處理的延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各應用程式的最低迴應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看應用程式要求處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
應用程式要求處理延遲時間上限 (依應用程式區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
應用程式處理延遲時間下限 (依應用程式區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apps?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
API 產品數據分析指令
依 API 產品區分的應用程式/開發人員/要求數量
應用程式數量 (依 API 產品區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=app_count&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
開發人員數量 (依 API 產品區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=developer_count&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各產品的要求數
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的回應時間
平均觀看Total Response Time API 產品
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最大回應時間 API 產品
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
Min Total Response Time API 產品
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看目標回應時間 API 產品
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
目標回應時間上限 API 產品
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最短目標回應時間 API 產品
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
依 API 產品顯示錯誤
各 API 產品的錯誤
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
依 API 產品區分的要求/回應大小
各 API 產品的要求大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的要求大小下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的平均要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的回應大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的 MIn 回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的平均回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的要求/回應延遲時間
平均觀看各 API 產品的回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的回應處理延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的最小回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看各 API 產品的要求處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 產品的要求處理延遲時間下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/apiproducts?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
API 資源分析指令
要求數量 (依 API 資源區分)
各 API 資源的要求數
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的回應時間
平均觀看各 API 資源的總回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的總回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的總回應時間下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看各 API 資源的目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的目標回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最低目標回應時間 (依 API 資源區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
依 API 資源顯示錯誤
依 API 資源區分的錯誤
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
不同 API 資源的要求/回應大小
各 API 資源的要求大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的要求大小下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的平均要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的回應大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的回應大小下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的平均回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
依 API 資源顯示要求/回應延遲時間
平均觀看各 API 資源的回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的回應處理延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的最低迴應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均觀看各 API 資源的要求處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
各 API 資源的要求處理延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最低要求處理延遲時間 (依 API 資源區分)
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/request_path?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
適用於整個程式的 API 分析指令
要求數
指定期間內的要求數量變化
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
回應時間
平均總回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
總回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
總回應時間下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
目標回應時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
最短目標回應時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
錯誤
一段時間內的錯誤
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
要求/回應大小
一段時間內的要求大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
一段時間內的最小要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
一段時間內的平均要求大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
一段時間內的回應大小上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
一段時間內的最小回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
一段時間內的平均回應大小
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
要求/回應延遲時間
平均觀看回應處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
回應處理延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
回應處理延遲時間下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
平均要求處理延遲時間
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
要求處理延遲時間上限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password
要求處理延遲時間下限
curl https://api.enterprise.apigee.com/v1/o/myorg/e/prod/stats/?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day -u email:password