s2n-quic icon indicating copy to clipboard operation
s2n-quic copied to clipboard

events: Implement a qlog Event Subscriber

Open WesleyRosenblum opened this issue 3 years ago • 1 comments

Problem:

qlog is a standardized logging format that allows easy sharing of data and the creation of reusable visualization and debugging tools. The schema (still in draft form) is specified in https://github.com/quicwg/qlog. s2n-quic does not currently output in this format.

Solution:

Implement an Event Subscriber that outputs in the qlog format, by implementing the event::Subscriber trait and matching up the available events to their qlog equivalents.

  • Does this change what s2n-quic sends over the wire? No
  • Does this change any public APIs? No

WesleyRosenblum avatar Feb 25 '22 01:02 WesleyRosenblum

Since the qlog spec is currently in draft, this should be a separate crate from the main s2n-quic as I don't want to break applications when things change. Probably something like s2n-quic-qlog.

camshaft avatar Feb 25 '22 01:02 camshaft