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 recovery stats as part of ConnectionStats #973

Merged
merged 1 commit into from
Jan 10, 2021
Merged

Conversation

Matthias247
Copy link
Contributor

This is an alternative version of #972, where we add the new stats
to ConnectionStats instead of exposing additional accessors.

The naming of recovery could probably be improved. path might
be an option. But where would we add something like packet loss?
That seems more like an overall stat.

@Ralith
Copy link
Collaborator

Ralith commented Jan 8, 2021

I like path. The congestion controller treats packet loss on independent paths as independent, so reporting it that way makes sense to me as well.

Ralith
Ralith previously approved these changes Jan 9, 2021
@Matthias247
Copy link
Contributor Author

I like path. The congestion controller treats packet loss on independent paths as independent, so reporting it that way makes sense to me as well.

Seems good to me too for the current values. We can have something else for values which are persistent between paths too. More fields don't have more cost.

This is an alternative version of quinn-rs#972, where we add the new stats
to ConnectionStats instead of exposing additional accessors.

The naming of `recovery` could probably be improved. `path` might
be an option. But where would we add something like packet loss?
That seems more like an overall stat.
@djc djc merged commit 1a544c3 into quinn-rs:main Jan 10, 2021
@Matthias247 Matthias247 deleted the stats2 branch February 22, 2021 02:25
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.

3 participants