Skip to content

[v1.38] http2: add header map stats histograms#45536

Merged
phlax merged 1 commit into
envoyproxy:release/v1.38from
yanavlasov:pr-45479/v1.38
Jun 10, 2026
Merged

[v1.38] http2: add header map stats histograms#45536
phlax merged 1 commit into
envoyproxy:release/v1.38from
yanavlasov:pr-45479/v1.38

Conversation

@yanavlasov

Copy link
Copy Markdown
Contributor

Add histograms for HTTP/2 header map stats.

  • header_count - total count of header entries received (including individual cookie headers)
  • header_list_size - total byte size of header map entries, total length of the re-assembled cookie
  • cookie_count - count of individual cookie headers.
  • cookie_size - size of re-assembled cookie headers.

Histograms are disabled by default and can be enabled by setting the runtime guard
envoy.reloadable_features.http2_record_histograms to true.

Risk Level: low
Testing: unit tests
Docs Changes: yes
Release Notes: yes
Platform Specific Features: no
Runtime guard: envoy.reloadable_features.http2_record_histograms

Add histograms for HTTP/2 header map stats.

* header_count - total count of header entries received (including
individual ``cookie`` headers)
* header_list_size - total byte size of header map entries, total length
of the re-assembled ``cookie``
* cookie_count - count of individual ``cookie`` headers.
* cookie_size - size of re-assembled ``cookie`` headers.

Histograms are disabled by default and can be enabled by
setting the runtime guard
``envoy.reloadable_features.http2_record_histograms`` to ``true``.

Risk Level: low
Testing: unit tests
Docs Changes: yes
Release Notes: yes
Platform Specific Features: no
Runtime guard: envoy.reloadable_features.http2_record_histograms

---------

Signed-off-by: Yan Avlasov <yavlasov@google.com>
@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/runtime-guard-changes: FYI only for changes made to (source/common/runtime/runtime_features.cc).

🐱

Caused by: #45536 was opened by yanavlasov.

see: more, trace.

@yanavlasov yanavlasov enabled auto-merge (squash) June 10, 2026 03:04
@yanavlasov yanavlasov disabled auto-merge June 10, 2026 03:04
@phlax phlax merged commit 3f17570 into envoyproxy:release/v1.38 Jun 10, 2026
14 checks passed
@yanavlasov yanavlasov deleted the pr-45479/v1.38 branch June 10, 2026 14:28
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.

4 participants