Skip to content

stats: make easier to reuse stats code#44410

Open
wbpcode wants to merge 2 commits intoenvoyproxy:mainfrom
wbpcode:dev-stats-code-optimization
Open

stats: make easier to reuse stats code#44410
wbpcode wants to merge 2 commits intoenvoyproxy:mainfrom
wbpcode:dev-stats-code-optimization

Conversation

@wbpcode
Copy link
Copy Markdown
Member

@wbpcode wbpcode commented Apr 13, 2026

Commit Message: stats: make easier to reuse stats code
Additional Description:

  1. Peter tags span rather than reference to vector for metrics creation. By this way, we can use inlined vector, array and so on rather than only vector.
  2. minor refactor to make it's easier to reuse stats code if we want another custom scope implemenation.

No public code API change and won't affect our forks.

Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
Signed-off-by: wbpcode/wangbaiping <wbphub@gmail.com>
@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Apr 13, 2026

/retest

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