Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyle-verhoog/ddpy-tornado
https://github.com/kyle-verhoog/ddpy-tornado
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kyle-verhoog/ddpy-tornado
- Owner: Kyle-Verhoog
- Created: 2020-05-04T19:03:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-14T21:45:25.000Z (over 1 year ago)
- Last Synced: 2024-11-22T01:07:54.121Z (2 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# ddtrace tornado app
A Tornado app to experiment with tracing.
## the app
The app provides different routes for testing various tracer functionalities.
```bash
```
## setup
```bash
# start up the database and app
$ docker-compose up -d# or manually..
# in your virtualenv (create with virtualenv --python=python3 .venv)
source .venv/bin/activate
pip install -r requirements.txt# run migrations
$ alembic upgrade head# start the app
$ DATADOG_PATCH_MODULES="tornado:true,sqlalchemy:true,psycopg:true" ddtrace-run python app.py
```## migrations
### run migrations
```bash
$ alembic upgrade head
```### creating a new migration
```bash
# create new migration
$ alembic revision --autogenerate -m "my change here"
```