HTTP/2('http2')详情


【HTTP/2 ('http2') Details】

performanceEntry.type 等于 'http2' 时,performanceNodeEntry.detail 属性将是一个包含额外性能信息的 <Object>

【When performanceEntry.type is equal to 'http2', the performanceNodeEntry.detail property will be an <Object> containing additional performance information.】

如果 performanceEntry.name 等于 Http2Streamdetail 将包含以下属性:

【If performanceEntry.name is equal to Http2Stream, the detail will contain the following properties:】

  • bytesRead <number> 接收到此 Http2StreamDATA 帧字节数。
  • bytesWritten <number> 发送此 Http2StreamDATA 帧字节数。
  • id <number> 关联的 Http2Stream 的标识符。
  • timeToFirstByte <number>PerformanceEntrystartTime 到接收第一个 DATA 帧所经过的毫秒数。
  • timeToFirstByteSent <number>PerformanceEntrystartTime 到发送第一个 DATA 帧所经过的毫秒数。
  • timeToFirstHeader <number>PerformanceEntrystartTime 到接收第一个头部所经过的毫秒数。

如果 performanceEntry.name 等于 Http2Sessiondetail 将包含以下属性:

【If performanceEntry.name is equal to Http2Session, the detail will contain the following properties:】

  • bytesRead <number>Http2Session 接收的字节数。
  • bytesWritten <number>Http2Session 发送的字节数。
  • framesReceived <number> Http2Session 接收的 HTTP/2 帧的数量。
  • framesSent <number> Http2Session 发送的 HTTP/2 帧的数量。
  • maxConcurrentStreams <number>Http2Session 生命周期中同时打开的最大流数量。
  • pingRTT <number> 从发送 PING 帧到收到其确认所经过的毫秒数。仅在该 Http2Session 发送过 PING 帧时才存在。
  • streamAverageDuration <number> 所有 Http2Stream 实例的平均持续时间(以毫秒为单位)。
  • streamCount <number> Http2Session 处理的 Http2Stream 实例数量。
  • type <string> 表示 Http2Session 类型,可为 'server''client'