列出給定步驟的 PerfSampleSeries。
該請求提供一個可選過濾器,該過濾器指定要包含在結果中的一個或多個 PerfMetricsType;如果沒有返回全部。產生的 PerfSampleSeries 依 id 排序。
可能會傳回以下任何規範錯誤代碼: - NOT_FOUND - 包含的步驟不存在
HTTP請求
GET https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries
URL 使用gRPC 轉碼語法。
路徑參數
參數 | |
---|---|
projectId | 雲端專案 |
historyId | 工具結果歷史 ID。 |
executionId | 工具結果執行 ID。 |
stepId | 工具結果步驟 ID。 |
查詢參數
參數 | |
---|---|
filter[] | 指定一個或多個 PerfMetricType 值(例如 CPU)來篩選結果 |
請求正文
請求內文必須為空。
響應體
如果成功,回應正文包含具有以下結構的資料:
JSON 表示 |
---|
{
"perfSampleSeries": [
{
object ( |
領域 | |
---|---|
perfSampleSeries[] | 產生的 PerfSampleSeries 以 id 排序 |
授權範圍
需要以下 OAuth 範圍:
-
https://www.googleapis.com/auth/cloud-platform
有關詳細信息,請參閱身份驗證概述。