Sanic Example App
This is an example sanic app to instrument the application as well as for testing purposes.
The best way to get started is to clone this repo and run:
If you already have datadog agent running, you could run: ddtrace-run python basic_app.py.
Note: before running docker-compose, update the env_file (e.g: .bashrc, .bash_profile) which contains Datadog API key or specify API key as environment variable.
docker-compose build --no-cache
docker-compose up
Then open your browser to http://0.0.0.0:<your_port>/
- Basic request and response traces would look like:

