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

Flask Instrumentation through WSGI middleware. #8

Merged
merged 23 commits into from
Jul 27, 2017
Merged

Flask Instrumentation through WSGI middleware. #8

merged 23 commits into from
Jul 27, 2017

Conversation

pglombardo
Copy link
Contributor

@pglombardo pglombardo commented Jul 25, 2017

WSGI is the equivalent to rack in the ruby world. Here we add WSGI middleware that can be used to instrument many frameworks that use WSGI (including Flask).

Remaining issues:

  • App name is not properly reported
  • When runtime only, we should report process name as name (currently sensory.pyc)
  • Context headers are not currently returned.

@pglombardo
Copy link
Contributor Author

instana python flask 2017-07-27 at 14 38 22
instana python flask 2017-07-27 at 14 39 18

@pglombardo
Copy link
Contributor Author

pglombardo commented Jul 27, 2017

Go app calling Python Flask app.

instana go to python flask trace 2017-07-27 at 15 21 13

@pglombardo pglombardo merged commit c654a73 into master Jul 27, 2017
@pglombardo pglombardo deleted the flask branch July 27, 2017 13:29
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.

1 participant