Skip to content

added tracing capability to ext-authz http client#8142

Merged
zuercher merged 8 commits intoenvoyproxy:masterfrom
gsagula:ext_authz-http-tracing
Sep 17, 2019
Merged

added tracing capability to ext-authz http client#8142
zuercher merged 8 commits intoenvoyproxy:masterfrom
gsagula:ext_authz-http-tracing

Conversation

@gsagula
Copy link
Copy Markdown
Member

@gsagula gsagula commented Sep 4, 2019

Description:
This PR adds tracing support to the HTTP client in the external authorization filter. So far, only gRPC client was able to trace requests from the filter to an authorization service.

Risk Level: Low
Testing: yes
Docs Changes: N/A
Release Notes: Added
Fixes #6520

Signed-off-by: Gabriel Linden Sagula gsagula@gmail.com

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
@gsagula
Copy link
Copy Markdown
Member Author

gsagula commented Sep 4, 2019

@dio Sorry for the delay on this one. I think I addressed all your comments from #7267. Thanks!

@dio
Copy link
Copy Markdown
Member

dio commented Sep 4, 2019

Thanks. will take a look.

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
dio
dio previously approved these changes Sep 5, 2019
Copy link
Copy Markdown
Member

@dio dio left a comment

Choose a reason for hiding this comment

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

Thanks @gsagula! I think the improvement on showing service unavailable for 503 is great (as mentioned in #7267 (review))!

@dio dio dismissed their stale review September 5, 2019 10:47

Sorry, we missed the version_history changes here?

Copy link
Copy Markdown
Member

@dio dio 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 yes, we need an entry in version history. Thanks!

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
@gsagula
Copy link
Copy Markdown
Member Author

gsagula commented Sep 5, 2019

/retest

@repokitteh-read-only
Copy link
Copy Markdown

🔨 rebuilding ci/circleci: release (failed build)

🐱

Caused by: a #8142 (comment) was created by @gsagula.

see: more, trace.

…acing

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
@gsagula
Copy link
Copy Markdown
Member Author

gsagula commented Sep 5, 2019

/retest

@repokitteh-read-only
Copy link
Copy Markdown

🐴 hold your horses - no failures detected, yet.

🐱

Caused by: a #8142 (comment) was created by @gsagula.

see: more, trace.

@dio
Copy link
Copy Markdown
Member

dio commented Sep 5, 2019

/azp run envoy-linux

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

dio
dio previously approved these changes Sep 5, 2019
Copy link
Copy Markdown
Member

@dio dio 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
Copy Markdown
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.

Looks good. For consistency, I think we should handle cleaning up the span_ in the same way as callbacks_.

@zuercher zuercher self-assigned this Sep 6, 2019
Gabriel Linden Sagula added 2 commits September 6, 2019 22:34
Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
…acing

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
@gsagula
Copy link
Copy Markdown
Member Author

gsagula commented Sep 7, 2019

@zuercher @dio Thank you for reviewing it.

@gsagula
Copy link
Copy Markdown
Member Author

gsagula commented Sep 7, 2019

/retest

@repokitteh-read-only
Copy link
Copy Markdown

🔨 rebuilding ci/circleci: coverage (failed build)
🔨 rebuilding ci/circleci: asan (failed build)
🔨 rebuilding ci/circleci: release (failed build)
🔨 rebuilding ci/circleci: clang_tidy (failed build)

🐱

Caused by: a #8142 (comment) was created by @gsagula.

see: more, trace.

…acing

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
@gsagula
Copy link
Copy Markdown
Member Author

gsagula commented Sep 8, 2019

/retest

@repokitteh-read-only
Copy link
Copy Markdown

🔨 rebuilding ci/circleci: asan (failed build)

🐱

Caused by: a #8142 (comment) was created by @gsagula.

see: more, trace.

zuercher
zuercher previously approved these changes Sep 9, 2019
Copy link
Copy Markdown
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!

@mattklein123
Copy link
Copy Markdown
Member

Needs master merge.

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
@gsagula
Copy link
Copy Markdown
Member Author

gsagula commented Sep 10, 2019

Done.

@mattklein123
Copy link
Copy Markdown
Member

@zuercher I think this just needs a re-approve but I haven't been tracking carefully.

Copy link
Copy Markdown
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.

Looks good. My apologies for losing track of this one.

@zuercher zuercher merged commit 2f5f947 into envoyproxy:master Sep 17, 2019
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Sep 24, 2019
This PR adds tracing support to the HTTP client in the external authorization filter. So far, only gRPC client was able to trace requests from the filter to an authorization service.

Risk Level: Low
Testing: yes
Docs Changes: N/A
Release Notes: Added
Fixes envoyproxy#6520

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
This PR adds tracing support to the HTTP client in the external authorization filter. So far, only gRPC client was able to trace requests from the filter to an authorization service.

Risk Level: Low
Testing: yes
Docs Changes: N/A
Release Notes: Added
Fixes envoyproxy#6520

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
This PR adds tracing support to the HTTP client in the external authorization filter. So far, only gRPC client was able to trace requests from the filter to an authorization service.

Risk Level: Low
Testing: yes
Docs Changes: N/A
Release Notes: Added
Fixes envoyproxy#6520

Signed-off-by: Gabriel Linden Sagula <gsagula@gmail.com>
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.

B3 HTTP headers not propagated to ext_authz server in 1.10.0

4 participants