f5b4c23861
[dgit import orig sentry-python_0.12.2.orig.tar.gz] |
||
---|---|---|
.. | ||
static | ||
templates | ||
README.md | ||
events | ||
events.svg | ||
traceviewer.py | ||
tracing.py |
README.md
To run this app:
- Have a Redis on the Redis default port (if you have Sentry running locally, you probably already have this)
pip install sentry-sdk flask rq
FLASK_APP=tracing flask run
FLASK_APP=tracing flask worker
- Go to
http://localhost:5000/
and enter a base64-encoded string (one is prefilled) - Hit submit, wait for heavy computation to end
cat events | python traceviewer.py | dot -T svg > events.svg
open events.svg
The last two steps are for viewing the traces. Nothing gets sent to Sentry right now because Sentry does not deal with this data yet.