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

fix: match serviceName in tracing with mergedGateways topology #3214

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

cnvergence
Copy link
Member

What type of PR is this?

What this PR does / why we need it:

When mergeGateways is enabled, tracing should set its service name to GatewayClass name, as there will be only one service for every gateway listener.

Which issue(s) this PR fixes:

Fixes #3210

@cnvergence cnvergence marked this pull request as ready for review April 17, 2024 15:19
@cnvergence cnvergence requested a review from a team as a code owner April 17, 2024 15:19
@cnvergence cnvergence requested a review from zirain April 17, 2024 15:37
@zirain
Copy link
Contributor

zirain commented Apr 17, 2024

/retest

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.

LGTM, can you add a translator test?

Copy link
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

lgtm

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>
@zirain
Copy link
Contributor

zirain commented Apr 18, 2024

/retest

@cnvergence
Copy link
Member Author

just thinking if we should use GatewayClassName . EnvoyNamespace format instead

@zirain
Copy link
Contributor

zirain commented Apr 19, 2024

it would be better to see a xds translator test, but LGTM now.

@zirain zirain merged commit e1a3ab4 into envoyproxy:main Apr 19, 2024
17 checks passed
@cnvergence cnvergence deleted the merge-svc-trace branch April 19, 2024 06:09
@cnvergence cnvergence restored the merge-svc-trace branch April 19, 2024 06:10
@cnvergence cnvergence deleted the merge-svc-trace branch April 19, 2024 06:10
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.

Merge Gateway Tracing Root Trace service name random
4 participants