Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: qlog: move sent_at_time to extension field #1737

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LPardue
Copy link
Contributor

@LPardue LPardue commented Mar 4, 2024

Previously, we added our own send_at_time field to packet_sent
events, in order to help analysis of pacing related code.

Recently, the qlog specs have been changed to allow for better
extensibility of individual events. Rather than have each extension field
defined at the same level as the base fields in specs, they are instead
put in an extension type that serialized as an "anonymous" field.

In this change, we move send_at_time to a new extension type and
use serde flatten to place them at the same level as base events in
serialized logs.

Previously, we added our own `send_at_time` field to packet_sent
events, in order to help analysis of pacing related code.

Recently, the qlog specs have been changed to allow for better
extensibility of individual events. Rather than have each extension field
defined at the same level as the base fields in specs, they are instead
put in an extension type that serialized as an "anonymous" field.

In this change, we move `send_at_time` to a new extension type and
use serde flatten to place them at the same level as base events in
serialized logs.
@LPardue LPardue requested a review from a team as a code owner March 4, 2024 12:02
@LPardue LPardue changed the title qlog: move sent_at_time to extension field WIP: qlog: move sent_at_time to extension field Mar 4, 2024
@LPardue LPardue marked this pull request as draft March 4, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant