REST Resource: projects.histories.executions.steps.perfSampleSeries

资源:PerfSampleSeries

表示性能样本(或数据点)集合的资源

JSON 表示
{
  "projectId": string,
  "historyId": string,
  "executionId": string,
  "stepId": string,
  "sampleSeriesId": string,

  // Union field perf_sample_series can be only one of the following:
  "basicPerfSampleSeries": {
    object (BasicPerfSampleSeries)
  }
  // End of list of possible types for union field perf_sample_series.
}
领域
projectId

string

云项目

注意:该字段仅在响应中使用。请求中指定的任何值都将被忽略。

historyId

string

工具结果历史 ID。

注意:该字段仅在响应中使用。请求中指定的任何值都将被忽略。

executionId

string

工具结果执行 ID。

注意:该字段仅在响应中使用。请求中指定的任何值都将被忽略。

stepId

string

工具结果步骤 ID。

注意:该字段仅在响应中使用。请求中指定的任何值都将被忽略。

sampleSeriesId

string

示例系列 ID

注意:该字段仅在响应中使用。请求中指定的任何值都将被忽略。

联合字段perf_sample_series

perf_sample_series只能是以下之一:

basicPerfSampleSeries

object ( BasicPerfSampleSeries )

用折线图表示的基本系列

基本性能示例系列

封装由折线图表示的基本示例系列的元数据

JSON 表示
{
  "perfMetricType": enum (PerfMetricType),
  "perfUnit": enum (PerfUnit),
  "sampleSeriesLabel": enum (SampleSeriesLabel)
}
领域
perfMetricType

enum ( PerfMetricType )

perfUnit

enum ( PerfUnit )

sampleSeriesLabel

enum ( SampleSeriesLabel )

性能单元

该集合中一系列数据点对应的单位

枚举
perfUnitUnspecified
kibibyte
percent
bytesPerSecond
framesPerSecond
byte

样品系列标签

用于识别给定性能样本系列的标签

枚举
sampleSeriesTypeUnspecified
memoryRssPrivate内存样品系列
memoryRssShared
memoryRssTotal
memoryTotal
cpuUser CPU样品系列
cpuKernel
cpuTotal
ntBytesTransferred网络样本系列
ntBytesReceived
networkSent
networkReceived
graphicsFrameRate图形样本系列

方法

create

创建 PerfSampleSeries。

get

获取 PerfSampleSeries。

list

列出给定步骤的 PerfSampleSeries。