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>Http2Stream 发送的 DATA 帧字节数。
  • 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> 可以是 'server''client',用于标识 Http2Session 的类型。