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

feat: support statsmatch from proxy metric #1826

Merged
merged 13 commits into from
Sep 13, 2023

Conversation

tmsnan
Copy link
Contributor

@tmsnan tmsnan commented Aug 25, 2023

Description:
feat: support statsmatch from proxy metric.
Releate: #1669 #1761

@tmsnan tmsnan requested a review from a team as a code owner August 25, 2023 06:17
@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Merging #1826 (5acd660) into main (8e3ad25) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1826      +/-   ##
==========================================
- Coverage   65.98%   65.97%   -0.02%     
==========================================
  Files          86       86              
  Lines       12910    12924      +14     
==========================================
+ Hits         8519     8526       +7     
- Misses       3851     3857       +6     
- Partials      540      541       +1     
Files Changed Coverage Δ
internal/xds/bootstrap/bootstrap.go 85.71% <100.00%> (+3.57%) ⬆️

... and 1 file with indirect coverage changes

@tmsnan tmsnan force-pushed the dev-add-stats-matcher-code branch from abd2bbc to 884d5da Compare August 28, 2023 08:45
zhaonan added 7 commits September 4, 2023 19:04
Signed-off-by: zhaonan <[email protected]>
Signed-off-by: zhaonan <[email protected]>
Signed-off-by: zhaonan <[email protected]>
Signed-off-by: zhaonan <[email protected]>
Signed-off-by: zhaonan <[email protected]>
Signed-off-by: zhaonan <[email protected]>
@tmsnan tmsnan force-pushed the dev-add-stats-matcher-code branch from 5cf1475 to 5f2ea0d Compare September 4, 2023 11:23
Signed-off-by: zhaonan <[email protected]>
@tmsnan tmsnan force-pushed the dev-add-stats-matcher-code branch from 5f2ea0d to 545d686 Compare September 4, 2023 11:37
@tmsnan
Copy link
Contributor Author

tmsnan commented Sep 6, 2023

/retest

@tmsnan
Copy link
Contributor Author

tmsnan commented Sep 11, 2023

/retest

@arkodg
Copy link
Contributor

arkodg commented Sep 11, 2023

blocked on #1877

@@ -11,7 +11,12 @@ type ProxyMetrics struct {
// Sinks defines the metric sinks where metrics are sent to.
Sinks []MetricSink `json:"sinks,omitempty"`
// Matches defines configuration for selecting specific metrics instead of generating all metrics stats
// that are enabled by default. This helps reduce CPU and memory overhead in Envoy.
// that are enabled by default. This helps reduce CPU and memory overhead in Envoy, but eliminating some stats
// may after critical functionality. Here are the stats that we strongly recommend not disabling:
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

arkodg
arkodg previously approved these changes Sep 12, 2023
Copy link
Contributor

@arkodg arkodg 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 !

Alice-Lilith
Alice-Lilith previously approved these changes Sep 12, 2023
Copy link
Member

@Alice-Lilith Alice-Lilith left a comment

Choose a reason for hiding this comment

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

Needs a quick rebase but looks good

Signed-off-by: zhaonan <[email protected]>
@tmsnan
Copy link
Contributor Author

tmsnan commented Sep 13, 2023

/retest

1 similar comment
@zirain
Copy link
Contributor

zirain commented Sep 13, 2023

/retest

Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

thanks @tmsnan !

@arkodg arkodg merged commit ff33343 into envoyproxy:main Sep 13, 2023
20 checks passed
@tmsnan tmsnan deleted the dev-add-stats-matcher-code branch December 6, 2023 11:28
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.

4 participants