Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

feat(tornado_client.py): support tornado http client calls#318

Merged
ranrib merged 4 commits intomasterfrom
support-tornado-async-client
Jan 13, 2021
Merged

feat(tornado_client.py): support tornado http client calls#318
ranrib merged 4 commits intomasterfrom
support-tornado-async-client

Conversation

@ranrib
Copy link
Copy Markdown
Contributor

@ranrib ranrib commented Jan 13, 2021

No description provided.

@ranrib ranrib self-assigned this Jan 13, 2021
@ranrib ranrib requested a review from a team as a code owner January 13, 2021 12:16
@ranrib ranrib requested a review from razlo January 13, 2021 12:16
Copy link
Copy Markdown

@razlo razlo 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 overall
can you please add some UT? (even a sanity test)

Comment thread epsagon/modules/tornado.py Outdated
return wrapped(*args, **kwargs)

# Inject header to support tracing over HTTP requests
trace_id = uuid.uuid4().hex
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'd maybe export this header creation logic somewhere since we do it everywhere now

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@ranrib
Copy link
Copy Markdown
Contributor Author

ranrib commented Jan 13, 2021

Added test @razlo

@ranrib ranrib requested a review from razlo January 13, 2021 15:45
razlo
razlo previously approved these changes Jan 13, 2021
@ranrib ranrib merged commit 388053a into master Jan 13, 2021
@enoodle
Copy link
Copy Markdown
Contributor

enoodle commented Jan 13, 2021

🎉 This PR is included in version 1.62.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants