Skip to content

eeliu/pinpoint-in-pyweb2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

web2py

Download pinpoint-py-plugins

pinpoint-py-plugins

Steps

  1. copy pinpoint

  2. enable pinpoint middleware

    def run(servername, ip, port, softcron=True, logging=False, profiler=None,
        options=None):
        ...
        ## import pinpoint middleware
        from pinpoint.pyweb2.middleware import PinPointMiddleWare
        application = PinPointMiddleWare(application)
        getattr(Servers, servername)(application, (ip, int(port)), options=options)
  3. run "python anyserver.py"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published