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

tracing: use X-Ray cluster_name if segment_name is not specified #10149

Merged
merged 2 commits into from
Feb 26, 2020

Conversation

marcomagdy
Copy link
Contributor

If users do not specify the segment_name in the X-Ray tracer, the span's name should default to the cluster name.

Risk Level: Low
Testing: unit tests
Fixes #10142

Signed-off-by: Marco Magdy <mmagdy@gmail.com>
zuercher
zuercher previously approved these changes Feb 25, 2020
Copy link
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

LGTM w/ small nit, thanks!

/wait

source/extensions/tracers/xray/tracer.cc Outdated Show resolved Hide resolved
Signed-off-by: Marco Magdy <mmagdy@gmail.com>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

@mattklein123 mattklein123 merged commit 305e723 into envoyproxy:master Feb 26, 2020
@marcomagdy marcomagdy deleted the xray-segment-name branch February 26, 2020 19:26
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.

3 participants