指標 API の例

このページは ApigeeApigee ハイブリッドに適用されます。

Apigee Edge ドキュメントを表示する

このドキュメントでは、特定の基準に基づいて Apigee 指標 API を使用する例を示します。これは総合的なリファレンスではありません。

詳しくは以下をご覧ください。

以下に例を示します。

  • OAuth 2.0 アクセス トークンの取得で説明されているように、$TOKEN は OAuth 2.0 アクセス トークンに設定されます。この例で使用されている curl オプションについては、curl の使用をご覧ください。使用される環境変数の説明については、Apigee API リクエストの環境変数の設定をご覧ください。
  • apiproxy は、API プロキシの内部名です(表示名ではありません)。
  • developer は、org_name@@@unique_id 形式の Apigee によって生成された一意のデベロッパー ID です。
  • developer_app は、API 呼び出しを行う Apigee 登録済みのデベロッパー アプリです。
  • api_product は、呼び出される API プロキシを含む API プロダクトの名前です。.

API 分析コマンド

API プロキシ別のリクエスト数

API プロキシ別のリクエスト

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=sum(message_count)&timeRange=9/24/2019+00:00~10/25/2019+00:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロキシ別のレスポンス時間

API プロキシ別の合計レスポンス時間の平均

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロキシ別の合計レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロキシ別の合計レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロキシ別のターゲット レスポンス時間の平均

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロキシ別のターゲット レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロキシ別のターゲット レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロキシ別のエラー数

API 別のエラー

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API 別のリクエスト / レスポンス サイズ

API 別の最大リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別の最小リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別の平均リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別の最大レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別の最小レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別の平均レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別のリクエスト / レスポンス レイテンシ

API 別のレスポンス処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別のレスポンス処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別のレスポンス処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別のリクエスト処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別のリクエスト処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

API 別のリクエスト処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/apiproxy?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー分析コマンド

デベロッパー別のアプリ数 / ユーザー数 / リクエスト数

デベロッパー別のアプリ数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=app_count&timeRange=9/24/2014%2000:00~10/25/2014%2000:00&timeUnit=day \

デベロッパー別のエンドユーザー数

curl https://apigee.googleapis.com/v1/organizations/<$ORG/environments/$ENV/stats/developer?select=user_count&timeRange=9/24/2014%2000:00~10/25/2014%2000:00&timeUnit=day \

デベロッパー別のリクエスト数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のレスポンス時間

デベロッパー別の合計レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別の合計レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別の合計レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のターゲット レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のターゲット レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のターゲット レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のエラー数

デベロッパー別のエラー数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のリクエスト / レスポンス サイズ

デベロッパー別の最大リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別の最小リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別の平均リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別の最大レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別の最小レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別の平均レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のリクエスト / レスポンス レイテンシ

デベロッパー別のレスポンス処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のレスポンス処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のレスポンス処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のリクエスト処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

デベロッパー別のリクエスト処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ分析コマンド

アプリ別のユーザー数 / リクエスト数

アプリ別のユーザー数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=user_count&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別のリクエスト数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別のレスポンス時間

アプリ別の合計レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別の合計レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別の合計レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別のターゲット レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別のターゲット レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別のターゲット レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \

アプリ別のエラー数

アプリ別のエラー数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別のリクエスト / レスポンス サイズ

アプリ別の最大リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別の最小リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別の平均リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別の最大レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別の最小レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別の平均レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別のリクエスト / レスポンス レイテンシ

アプリ別のレスポンス処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別のレスポンス処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別のレスポンス処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別のリクエスト処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別のリクエスト処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

アプリ別のリクエスト処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/developer_app?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト分析コマンド

API プロダクト別のアプリ数 / デベロッパー数 / リクエスト数

API プロダクト別のアプリ数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=app_count&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のデベロッパー数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=developer_count&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

プロダクト別のリクエスト数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のレスポンス時間

API プロダクト別の合計レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別の合計レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別の合計レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のターゲット レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のターゲット レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のターゲット レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のエラー数

API プロダクト別のエラー数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のリクエスト / レスポンス サイズ

API プロダクト別の最大リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別の最小リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別の平均リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別の最大レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別の最小レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別の平均レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のリクエスト / レスポンス レイテンシ

API プロダクト別のレスポンス処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のレスポンス処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のレスポンス処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のリクエスト処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プロダクト別のリクエスト処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/api_product?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース分析コマンド

API リソース別のリクエスト数

API リソース別のリクエスト数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のレスポンス時間

API リソース別の合計レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別の合計レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別の合計レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のターゲット レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のターゲット レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のターゲット レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のエラー数

API リソース別のエラー数

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のリクエスト / レスポンス サイズ

API リソース別の最大リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=max(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別の最小リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別の平均リクエスト サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別の最大レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=max(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別の最小レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別の平均レスポンス サイズ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のリクエスト / レスポンス レイテンシ

API リソース別のレスポンス処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のレスポンス処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のレスポンス処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のリクエスト処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のリクエスト処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API リソース別のリクエスト処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/request_path?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

API プログラム全体分析コマンド

リクエスト数

リクエスト数の推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats?select=sum(message_count)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

レスポンス時間

合計レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=avg(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

合計レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=max(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

合計レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(total_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

ターゲット レスポンス時間の平均値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=avg(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

ターゲット レスポンス時間の最大値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=max(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

ターゲット レスポンス時間の最小値

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(target_response_time)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

エラー

エラー数の推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=sum(is_error)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

リクエスト / レスポンス サイズ

最大リクエスト サイズの推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

最小リクエスト サイズの推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

平均リクエスト サイズの推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=avg(request_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

最大レスポンス サイズの推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

最小レスポンス サイズの推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

平均レスポンス サイズの推移

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=avg(response_size)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

リクエスト / レスポンス レイテンシ

レスポンス処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=avg(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

レスポンス処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=max(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

レスポンス処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(response_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

リクエスト処理の平均レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=avg(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

リクエスト処理の最大レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=max(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"

リクエスト処理の最小レイテンシ

curl https://apigee.googleapis.com/v1/organizations/$ORG/environments/$ENV/stats/?select=min(request_processing_latency)&timeRange=9/24/2018%2000:00~10/25/2018%2000:00&timeUnit=day \
  -H "Authorization: Bearer $TOKEN"