Skip to content

Utilities to use google/quic-trace with `h2olog quic` logs

Notifications You must be signed in to change notification settings

gfx/h2olog-quic-trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

# find by xid
$ h2olog-quic-trace 'h2olog.quic' --xid 123456 > log.jsonl

# find by quicly connection id
$ h2olog-quic-trace 'h2olog.quic' --conn 123456 > log.jsonl

Transform .jsonl into QTR JSON files

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

where $QUICLY is the h2olog/quicly repository path.

Render a QTR JSON file

$ $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

About

Utilities to use google/quic-trace with `h2olog quic` logs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages