Repository navigation
Adding docs for http2 codec stats - #492
Conversation
Signed-off-by: Alyssa Wilk <[email protected]>
Signed-off-by: Alyssa Wilk <[email protected]>
| :header: Name, Type, Description | ||
| :widths: 1, 1, 2 | ||
|
|
||
| rx_reset, Counter, Total number of reset streams frames received by Envoy. |
| tx_reset, Counter, Total number of reset stream frames transmitted by Envoy. | ||
| header_overflow, Counter, Total number of headers going over the 64512 byte limit. | ||
| trailers, Counter, Total number of trailers seen on requests coming from downstream. | ||
| headers_cb_no_stream, Counter, Total number of errors where a header callback is called without an associated stream. |
There was a problem hiding this comment.
This is a weird stat; it's the only one that doesn't have some clear wire equivalent. What's its intended use?
There was a problem hiding this comment.
Catching a bug Matt was never able to track down, so added error handling and a stat for:
There was a problem hiding this comment.
Cool. Maybe just say it's intended for low-level debug.
| header_overflow, Counter, Total number of headers going over the 64512 byte limit. | ||
| trailers, Counter, Total number of trailers seen on requests coming from downstream. | ||
| headers_cb_no_stream, Counter, Total number of errors where a header callback is called without an associated stream. | ||
| too_many_header_frames, Counter, Total number of times an http2 connection is reset due to receiving too many headers frames. |
There was a problem hiding this comment.
Prefer s/http2/HTTP/2/ when used as a proper noun. What does it mean to receive too many headers frames for the casual reader?
There was a problem hiding this comment.
2 header frames where one of them was not a 100-continue. Want me to add that inline? I thought stats descriptions were intentionally terse but I'm happy to break that tradition
There was a problem hiding this comment.
I agree that stats are typically terse, but thinking about the move towards better operations docs, I think being able to understand the meaning of individual stats as a casual user (i.e. not already knowing internal implementation) would be aligned.
| rx_reset, Counter, Total number of reset streams frames received by Envoy. | ||
| tx_reset, Counter, Total number of reset stream frames transmitted by Envoy. | ||
| header_overflow, Counter, Total number of headers going over the 64512 byte limit. | ||
| trailers, Counter, Total number of trailers seen on requests coming from downstream. |
There was a problem hiding this comment.
Why is it useful to count trailers?
There was a problem hiding this comment.
goodness only knows, but it's incremented on the request path and not the response path, according to my asserts + testing.
|
|
||
| rx_reset, Counter, Total number of reset streams frames received by Envoy. | ||
| tx_reset, Counter, Total number of reset stream frames transmitted by Envoy. | ||
| header_overflow, Counter, Total number of headers going over the 64512 byte limit. |
Signed-off-by: Alyssa Wilk <[email protected]>
htuch
left a comment
There was a problem hiding this comment.
LGTM, need to fix docs failures.
|
|
||
| rx_reset, Counter, Total number of reset stream frames received by Envoy. | ||
| tx_reset, Counter, Total number of reset stream frames transmitted by Envoy. | ||
| header_overflow, Counter, Total number of connections reset due to the headers being larger than Envoy::Http::Http2::ConnectionImpl::StreamImpl::MAX_HEADER_SIZE (63k). |
There was a problem hiding this comment.
Escape this with either * * or backticks.
| tx_reset, Counter, Total number of reset stream frames transmitted by Envoy. | ||
| header_overflow, Counter, Total number of connections reset due to the headers being larger than Envoy::Http::Http2::ConnectionImpl::StreamImpl::MAX_HEADER_SIZE (63k). | ||
| trailers, Counter, Total number of trailers seen on requests coming from downstream. | ||
| headers_cb_no_stream, Counter, Total number of errors where a header callback is called without an associated stream. This tracks an unexpected occurance due to an as yet undiagnosed bug. |
There was a problem hiding this comment.
I don't think there is a bug. The most I found is comments. This predates Envoy being open sourced
Signed-off-by: Alyssa Wilk <[email protected]>
cf8ffb5 to
2b5ab50
Compare
No description provided.