Skip to content

stats: get most of the cluster stats into the new 2-phase macro system.#14340

Merged
jmarantz merged 1 commit intoenvoyproxy:masterfrom
jmarantz:more-stat-name-macros
Dec 10, 2020
Merged

stats: get most of the cluster stats into the new 2-phase macro system.#14340
jmarantz merged 1 commit intoenvoyproxy:masterfrom
jmarantz:more-stat-name-macros

Conversation

@jmarantz
Copy link
Contributor

@jmarantz jmarantz commented Dec 9, 2020

Commit Message: Capture StatNames in the factory for extra categories of cluster stats. This is a follow-up to #14028 which established the stat-macro infrastructure needed to make this easy most of the time.
Additional Description: This still leaves behind the stats for circuit breakers, which are difficult to convert to the new stat-name macro-creation structure due to some pretty creative use of the existing macros. Resolving that can be a follow-up, which I think might require abandoning the macros for circuit-breaker stats and just using direct API calls.
Risk Level: low
Testing: //test/...
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Joshua Marantz <jmarantz@google.com>
@jmarantz jmarantz changed the title WiP stats: get most of the cluster stats into the new 2-phase macro system. stats: get most of the cluster stats into the new 2-phase macro system. Dec 9, 2020
@jmarantz jmarantz marked this pull request as ready for review December 9, 2020 19:48
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@jmarantz jmarantz merged commit 8a28e06 into envoyproxy:master Dec 10, 2020
@jmarantz jmarantz deleted the more-stat-name-macros branch December 10, 2020 22:40
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.

2 participants