-
-
Save clvrobj/2584343 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ab -r -n 10000 http://127.0.0.1:8880/hello/world | |
#You have to run Sentry at 127.0.0.1:8000 and replace the following DSN. | |
from bottle import route, run | |
@route('/hello/:name') | |
def index(name='World'): | |
from raven import Client | |
client = Client('http://5a77e2293b2e441188dcd03180e47e6d:[email protected]:8000/2') | |
client.captureMessage('hello world!') | |
return '<b>Hello</b>' | |
run(host='localhost', port=8880) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment