You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "Superskyyy (via GitHub)" <gi...@apache.org> on 2023/04/25 16:53:34 UTC

[GitHub] [skywalking] Superskyyy opened a new issue, #10732: [Feature] Python agent support generic ASGI/WSGI middleware instrumentation

Superskyyy opened a new issue, #10732:
URL: https://github.com/apache/skywalking/issues/10732

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   Currently the web frameworks supported in the Python agent are instrumented individually, yet we lack the ability to trace generic requests from the ASGI and WSGI middleware level, which enables the auto tracing of any framework that follows these two protocols. 
   
   Middlewares: So essentially each request go down each middleware and go back in reverse order as they return, we will be able to close the spans.
   
   Then as a result, we should have a SkyWalkingASGI(WSGI)Middleware that can be added to any framework, tracing should automatically work. 
   
   New contributors are welcome to try this out. Upon completion please file a PR to here so people know we have this feature: https://github.com/florimondmanca/awesome-asgi#monitoring.
   
   ### Use case
   
   User should be able to trace any ASGI/WSGI compatible libraries even if the framework itself is not instrumented.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org