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

Convert Span::setTag and Span::setOperation to string_view #6817

Merged
merged 2 commits into from
May 7, 2019

Conversation

dnoe
Copy link
Contributor

@dnoe dnoe commented May 6, 2019

Description: Convert Span::setTag and Span::setOperation to take absl::string_view arguments. This avoids unnecessary string construction when the value string originates from a header. Zipkin ultimately requires string construction in some cases, but we can directly convert to an Opentracing string_view flavor without any additional construction.
Risk Level: Low
Testing: bazel test //test/...
Docs Changes: N/A
Release Notes: N/A
Part of: Issue #6580

Signed-off-by: Dan Noé dpn@google.com

dnoe added 2 commits May 6, 2019 09:33
Signed-off-by: Dan Noé <dpn@google.com>
Signed-off-by: Dan Noé <dpn@google.com>
@dnoe
Copy link
Contributor Author

dnoe commented May 6, 2019

/retest

@repokitteh-read-only
Copy link

🔨 rebuilding ci/circleci: tsan (failed build)

🐱

Caused by: a #6817 (comment) was created by @dnoe.

see: more, trace.

@lizan lizan merged commit 4aec400 into envoyproxy:master May 7, 2019
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.

2 participants