-
Notifications
You must be signed in to change notification settings - Fork 5.3k
http3: stats and stats docs. #16600
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
http3: stats and stats docs. #16600
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,18 +11,13 @@ namespace Http3 { | |
|
|
||
| /** | ||
| * All stats for the HTTP/3 codec. @see stats_macros.h | ||
| * TODO(danzh) populate all of them in codec. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we have to remove these? I planned to populate them gradually.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think leaving them in the code base while they're not being used makes sense, but I think it'd be fine to add them back (and doc them up) as they're implemented. |
||
| */ | ||
| #define ALL_HTTP3_CODEC_STATS(COUNTER, GAUGE) \ | ||
| COUNTER(dropped_headers_with_underscores) \ | ||
| COUNTER(header_overflow) \ | ||
| COUNTER(requests_rejected_with_underscores_in_headers) \ | ||
| COUNTER(rx_messaging_error) \ | ||
| COUNTER(rx_reset) \ | ||
| COUNTER(trailers) \ | ||
| COUNTER(tx_reset) \ | ||
| COUNTER(metadata_not_supported_error) \ | ||
| GAUGE(streams_active, Accumulate) | ||
| COUNTER(metadata_not_supported_error) | ||
|
|
||
| /** | ||
| * Wrapper struct for the HTTP/3 codec stats. @see stats_macros.h | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @yanavlasov @danzh2010
I think that the difference in HTTP2 and HTTP3 stats point at missing functionality in the HTTP3 codec. For example, no stats for header_overflow, inbound_window_update_frames_flood, keepalive_timeout and streams_active hint at lower level of hardening options or lack of stats to observe the behavior of those protections.
Worth thinking which of these are relevant and how to track their absense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#16652