Skip to content

[XdsClient] Add missing authority to XdsClient metrics scope#38009

Closed
yashykt wants to merge 5 commits intogrpc:masterfrom
yashykt:AddAuthorityToXdsClientMetricsScope
Closed

[XdsClient] Add missing authority to XdsClient metrics scope#38009
yashykt wants to merge 5 commits intogrpc:masterfrom
yashykt:AddAuthorityToXdsClientMetricsScope

Conversation

@yashykt
Copy link
Copy Markdown
Member

@yashykt yashykt commented Oct 27, 2024

Fix for b/365993761.

Noticed that XdsClient metrics were not being reported due to authority not being properly set.

This solution is not perfect since channels created later can possibly use a different authority, so preferring to use the default authority from the first channel.

@yashykt yashykt requested a review from markdroth as a code owner October 27, 2024 22:54
@yashykt yashykt changed the title [XdsClient] Add authority to xds client metrics scope [XdsClient] Add missing authority to XdsClient metrics scope Oct 27, 2024
@yashykt yashykt added the release notes: yes Indicates if PR needs to be in release notes label Oct 27, 2024
Comment thread src/core/xds/grpc/xds_client_grpc.cc Outdated
Comment thread src/core/xds/grpc/xds_client_grpc.cc Outdated
Comment thread test/cpp/end2end/xds/xds_core_end2end_test.cc Outdated
Copy link
Copy Markdown
Member

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

Just one more minor comment to fix; feel free to merge after addressing.

Comment thread src/core/xds/grpc/xds_client_grpc.cc Outdated
@yashykt yashykt deleted the AddAuthorityToXdsClientMetricsScope branch October 29, 2024 21:41
yashykt added a commit to yashykt/grpc that referenced this pull request Oct 29, 2024
)

Fix for b/365993761.

Noticed that XdsClient metrics were not being reported due to authority not being properly set.

This solution is not perfect since channels created later can possibly use a different authority, so preferring to use the default authority from the first channel.

Closes grpc#38009

COPYBARA_INTEGRATE_REVIEW=grpc#38009 from yashykt:AddAuthorityToXdsClientMetricsScope 00071ef
PiperOrigin-RevId: 691149703
gnossen pushed a commit that referenced this pull request Oct 29, 2024
#38009) (#38023)

Backport #38009 to 1.68.x

Fix for b/365993761.

Noticed that XdsClient metrics were not being reported due to authority
not being properly set.

This solution is not perfect since channels created later can possibly
use a different authority, so preferring to use the default authority
from the first channel.
eugeneo pushed a commit to eugeneo/grpc that referenced this pull request Nov 6, 2024
)

Fix for b/365993761.

Noticed that XdsClient metrics were not being reported due to authority not being properly set.

This solution is not perfect since channels created later can possibly use a different authority, so preferring to use the default authority from the first channel.

Closes grpc#38009

COPYBARA_INTEGRATE_REVIEW=grpc#38009 from yashykt:AddAuthorityToXdsClientMetricsScope 00071ef
PiperOrigin-RevId: 691149703
paulosjca pushed a commit to paulosjca/grpc that referenced this pull request Nov 25, 2024
)

Fix for b/365993761.

Noticed that XdsClient metrics were not being reported due to authority not being properly set.

This solution is not perfect since channels created later can possibly use a different authority, so preferring to use the default authority from the first channel.

Closes grpc#38009

COPYBARA_INTEGRATE_REVIEW=grpc#38009 from yashykt:AddAuthorityToXdsClientMetricsScope 00071ef
PiperOrigin-RevId: 691149703
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants