项目作者: gfx

项目描述 :
Utilities to use google/quic-trace with `h2olog quic` logs
高级语言: Python
项目地址: git://github.com/gfx/h2olog-quic-trace.git
创建时间: 2020-04-21T03:54:28Z
项目社区:https://github.com/gfx/h2olog-quic-trace

开源协议:

下载


h2olog-quic-trace

A utility to prepare log data for google/quic-trace.

Prerequisites

Usage

Fetch a specific set of logs from BigQuery

Assumed that there is a BigQuery table named h2olog.quic:

  1. # find by xid
  2. $ h2olog-quic-trace 'h2olog.quic' --xid 123456 > log.jsonl
  3. # find by quicly connection id
  4. $ h2olog-quic-trace 'h2olog.quic' --conn 123456 > log.jsonl

Transform .jsonl into QTR JSON files

  1. $ $QUICLY/misc/quictrace-adapter.py log.jsonl qtr
  2. Transforming qtr/2020-04-20T13:24:49Z-250194.json

where $QUICLY is the h2olog/quicly repository path.

Render a QTR JSON file

  1. $ $QUIC_TRACE/bazel-bin/tools/render/render_trace qtr/2020-04-20T13:24:49Z-250194.json

where $QUIC_TRACE is the google/quic-trace repository path.

Then, you’ll see a QUIC trace viewer launched like this:

See Also