Method: projects.histories.executions.steps.perfSampleSeries.list

列出给定步骤的 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

string

云项目

historyId

string

工具结果历史 ID。

executionId

string

工具结果执行 ID。

stepId

string

工具结果步骤 ID。

查询参数

参数
filter[]

enum ( PerfMetricType )

指定一个或多个 PerfMetricType 值(例如 CPU)来过滤结果

请求正文

请求正文必须为空。

响应体

如果成功,响应正文包含具有以下结构的数据:

JSON 表示
{
  "perfSampleSeries": [
    {
      object (PerfSampleSeries)
    }
  ]
}
领域
perfSampleSeries[]

object ( PerfSampleSeries )

生成的 PerfSampleSeries 按 id 排序

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

有关详细信息,请参阅身份验证概述