Skip to content
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

stats: Use dynamic stat-name for locality_zone_stat_name_ in upstream code. #11768

Merged
merged 7 commits into from
Jun 26, 2020

Conversation

jmarantz
Copy link
Contributor

@jmarantz jmarantz commented Jun 26, 2020

Commit Message: locality zones may not change much, but there's no great place to store symbolic StatNames for them. To avoid contention issues on the symbol table when processing EDS requests, make that a dynamic stat.
Additional Description:
Risk Level: low
Testing: //test/..., release-build //test/integration:stats_integration_test
Docs Changes: n/a
Release Notes: n/a
Fixes: #11573

jmarantz added 6 commits June 15, 2020 17:02
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
@jmarantz jmarantz changed the title stats: Use dynamic stat-name for localisty_zone_stat_name_ in upstream code. stats: Use dynamic stat-name for locality_zone_stat_name_ in upstream code. Jun 26, 2020
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Copy link
Member

@rgs1 rgs1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mattklein123 mattklein123 merged commit 4ae7917 into envoyproxy:master Jun 26, 2020
@jmarantz jmarantz deleted the host-description-stat branch June 26, 2020 21:19
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.

locality zone name is looked up often when running with --use-fake-symbol-table 0
3 participants