Skip to content

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

Merged
mattklein123 merged 7 commits intoenvoyproxy:masterfrom
jmarantz:host-description-stat
Jun 26, 2020
Merged

stats: Use dynamic stat-name for locality_zone_stat_name_ in upstream code. #11768
mattklein123 merged 7 commits intoenvoyproxy:masterfrom
jmarantz:host-description-stat

Conversation

@jmarantz
Copy link
Copy Markdown
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
Copy Markdown
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