Back to Uptrace

Instrumenting Flask with OpenTelemetry example

example/flask/README.md

2.0.2487 B
Original Source

Instrumenting Flask with OpenTelemetry example

Install dependencies:

shell
pip install -r requirements.txt

To run this example, start Uptrace and run:

shell
UPTRACE_DSN=http://project2_secret_token@localhost:14317/2 python3 main.py

And open http://localhost:8000

See Getting started with Flask, SQLAlchemy, and OpenTelemetry for details.