-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
2,038 additions
and
266 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
To run this app: | ||
|
||
1. Have a Redis on the Redis default port (if you have Sentry running locally, | ||
you probably already have this) | ||
2. `pip install sentry-sdk flask rq` | ||
3. `FLASK_APP=tracing flask run` | ||
4. `FLASK_APP=tracing flask worker` | ||
5. Go to `http://localhost:5000/` and enter a base64-encoded string (one is prefilled) | ||
6. Hit submit, wait for heavy computation to end | ||
7. `cat events | python traceviewer.py | dot -T svg > events.svg` | ||
8. `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. |
Large diffs are not rendered by default.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.