Skip to content

REST:ワークロードの監視

This page indexes the REST endpoints the Workload API exposes for monitoring a Workload: statistics, lifecycle events, and replacement history. アプリケーションのOpenTelemetryテレメトリ(コンテナから送信されるトレース、ログ、メトリクス)は、別のオブザーバビリティ基盤を通じて公開されており、Workload APIによってプロキシ処理されることはありません。コンソールのビューについては、デプロイされたワークロードの監視およびデプロイされたワークロードのアクティビティを表示するを参照してください。

統計情報

The following endpoints return aggregated and time-series request statistics, with optional reset by proton or time window.

Verb パス 説明
GET /workloads/stats Aggregated statistics across all accessible Workloads. Same filters as GET /workloads.
GET /workloads/{workload_id}/stats Aggregated request statistics for one Workload. Optional protonId, startTime, endTime, responseTimeQuantile (default 0.5), slowRequestsThreshold (default 2000 ms).
GET /workloads/{workload_id}/stats/{metric_name} Time-series for a single metric. metric_nametotalRequests, requestsOverN, requestsPerMinute, concurrentRequests, responseTime, totalErrorRate. Optional resolution (PT1M, PT5M, PT1H, P1D, P7D, P1M; default P1D).
DELETE /workloads/{workload_id}/stats Reset Workload statistics. Optional protonId, startTime, endTime for partial windows.

Events and history

These endpoints expose the lifecycle event stream and the Workload's replacement history.

Verb パス 説明
GET /workloads/{workload_id}/events List lifecycle events (status changes, errors) for a Workload.
GET /workloads/{workload_id}/history List the Workload's replacement history (ReplacementHistoryListResponse).

See Monitoring concepts for retention and access semantics. 完全なスキーマおよびパラメーターのリファレンスについては、Workload APIリファレンスを参照してください。