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

Add more probes #299

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Add more probes #299

wants to merge 4 commits into from

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Mar 16, 2020

Generally speaking, we should have probe when any frame is sent, acked or received, regardless of the frame type. That would give us clear view of what is happening.

This PR is an attempt to do that.

@kazuho
Copy link
Member Author

kazuho commented Mar 16, 2020

One thing to consider is if we need frame-level ack probes. At the moment, we already have STREAM_ACKED and NEW_TOKEN_ACKED, but do not have ack probes for other frame types.

While it is helpful to have them when reading json directly, they might not be necessary when using a visualization tool that has the capability of deducing stream-level ACKs from stream-level send events and packet-level ACK events.

Not having frame-level ACK probes would reduce the size of the eBPF program, which has to be kept below 4,096 instructions.

@janaiyengar Do you have a preference?

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