Back to Uptrace

Instrumenting Django with OpenTelemetry

example/django/README.md

2.0.2510 B
Original Source

Instrumenting Django with OpenTelemetry

Install dependencies:

shell
pip install -r requirements.txt

To run this example, start Uptrace and run:

shell
export UPTRACE_DSN=http://project2_secret_token@localhost:14317/2
./manage.py migrate
./manage.py runserver

And open http://localhost:8000

See Getting started with Django, PostgreSQL/MySQL, and OpenTelemetry for details.