Skip to content

Example of OpenTelemetry instrumentation of flask app, gunicorn, with trace ID log injection.

License

Notifications You must be signed in to change notification settings

TarekAS/otel-flask-example

Repository files navigation

Description

This repo contains an example of OpenTelemetry instrumentation of Flask, including Trace ID injection into JSON logs.

Using docker:

make build
make run

# Then send HTTP requests to localhost:8000/rolldice
# Examine the logs from both containers, and you should see the trace ID.

About

Example of OpenTelemetry instrumentation of flask app, gunicorn, with trace ID log injection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published