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: add metrics instrumentation for xds server #3393

Merged
merged 2 commits into from
May 20, 2024

Conversation

shawnh2
Copy link
Contributor

@shawnh2 shawnh2 commented May 15, 2024

What type of PR is this?

What this PR does / why we need it:

image

Which issue(s) this PR fixes:

Fixes #2090

Signed-off-by: shawnh2 <shawnhxh@outlook.com>
@shawnh2 shawnh2 requested a review from a team as a code owner May 15, 2024 07:15
@shawnh2 shawnh2 requested review from zirain and Xunzhuo May 15, 2024 07:36
Copy link
Member

@Xunzhuo Xunzhuo left a comment

Choose a reason for hiding this comment

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

I think we should have more histogram metrics for measuring the xds duration.

@shawnh2
Copy link
Contributor Author

shawnh2 commented May 15, 2024

I think we should have more histogram metrics for measuring the xds duration.

great! thanks, let me trying add more metrics for this

@shawnh2 shawnh2 marked this pull request as draft May 15, 2024 08:05
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
@shawnh2 shawnh2 marked this pull request as ready for review May 15, 2024 09:49
@shawnh2 shawnh2 requested a review from Xunzhuo May 15, 2024 09:49
@ShyunnY
Copy link
Contributor

ShyunnY commented May 16, 2024

Are you considering adding additional namespace labels to metrics? This will facilitate our use of ns select in PromQL.

@shawnh2
Copy link
Contributor Author

shawnh2 commented May 16, 2024

Are you considering adding additional namespace labels to metrics? This will facilitate our use of ns select in PromQL.

thanks for reporting, this will be investigated via #3361

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.

this is going to be very useful, thanks for adding this !

Copy link
Contributor

@zirain zirain left a comment

Choose a reason for hiding this comment

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

It would be better if you can update the grafana dashboard.

@zirain zirain merged commit 8ca2675 into envoyproxy:main May 20, 2024
20 checks passed
@shawnh2 shawnh2 deleted the cp-metrics/xds-server branch May 20, 2024 09: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.

Implement Metrics instrumentation for xDS Server
5 participants