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: clean up default inclusion list #977

Merged
merged 1 commit into from Aug 3, 2020
Merged

stats: clean up default inclusion list #977

merged 1 commit into from Aug 3, 2020

Conversation

goaway
Copy link
Contributor

@goaway goaway commented Jul 28, 2020

Description: The previous list of stats would result in redundant checks and larger state machines. This change slims things down.

Signed-off-by: Mike Schore mike.schore@gmail.com

Signed-off-by: Mike Schore <mike.schore@gmail.com>
@goaway
Copy link
Contributor Author

goaway commented Jul 28, 2020

Note, I'm assuming we're including all the retry stats.

@rebello95 rebello95 requested a review from junr03 July 28, 2020 16:54
Copy link
Member

@junr03 junr03 left a comment

Choose a reason for hiding this comment

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

thanks for the clean up

- safe_regex:
google_re2: {}
regex: 'vhost.api.vcluster\.[\w]+?\.upstream_rq_timeout'
regex: '^http.hcm.downstream_rq_(?:[12345]xx|total|completed)'
Copy link
Member

Choose a reason for hiding this comment

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

should total and completed be kept as exact?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It'll still be cheaper to check the shared prefix once via the single regex.

Copy link
Member

@junr03 junr03 left a comment

Choose a reason for hiding this comment

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

Created internal task to test locally before cutting a release. We can merge ahead of that

@goaway goaway merged commit c44699f into main Aug 3, 2020
@goaway goaway deleted the ms/cleanup-regex branch August 3, 2020 19:13
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.

None yet

2 participants