Repository navigation
stats: migrate the grpc request stats to use explicit tags - #48466
Merged
Merged
Conversation
Signed-off-by: wbpcode <[email protected]>
wbpcode
requested review from
botengyao,
kyessenov and
nezdolik
as code owners
October 20, 2026 13:23
ggreenway
approved these changes
Oct 20, 2026
Member
Author
|
/retest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Message: stats: migrate the grpc request stats to use explicit tags
Additional Description:
The gRPC request stats charged by
Grpc::ContextImpl(the<protocol>.<service>.<method>.<suffix>counters and theupstream_rq_timehistogram on the cluster scope) now supply theenvoy.grpc_bridge_serviceandenvoy.grpc_bridge_methodtags explicitly instead of relying on the legacy tag-extraction regexes. The flat stat names are unchanged, and the explicit tags only take effect in the explicit-tags stats mode behind the default-falseenvoy.reloadable_features.enable_stats_explicit_tagsruntime guard; in legacy mode the extraction rules keep producing the same tags as before.One deliberate divergence in explicit mode: the grpc-web stats get the same service/method tags, while the legacy extraction rules only match the literal "grpc" prefix. Tagging unconditionally keeps the rules simple.
Risk Level: Low
Testing: unit + integration.
Docs Changes: N/A
Release Notes: N/A