<ph type="x-smartling-placeholder"></ph>
您正在查看 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 产品)
平均总响应时间(按 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
总响应时间下限(按 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 产品)
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