Conditionally create server spans for tornado and refactoring other frameworks to use utility function#889
Conversation
|
The changes are small enough and LGTM but please update PR title/description and git commit message to reflect all work done in this branch. |
_start_internal_or_server_span function for flask, pyramid and django Adding changelog entry Adding unit test and fixing lint errors Refactoring to use _start_internal_or_server_span function Removing unwanted imports and variables Fixing lint errors adding changes from tox -e generate Fixing build errors
17b9f92 to
e05a113
Compare
|
@owais Can you help me with the failing 'Combine benchmarks from previous build job'? I am not sure how to fix this. |
|
Just re-run it and hope it passes next time :) If it keeps failing consistently then we need to identify the performane degradation and fix it or update the perf numbers |
|
|
Description
Fixes #450
Type of change
Currently falcon only makes SERVER spans. With this PR it can make INTERNAL spans in presence of a span in current context.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.