A sample Python 3 chat application to showcase OpenTelemetry tracing
Install the API and SDK packages
pip install opentelemetry-api opentelemetry-sdk
Install the Pub/Sub client and the Cloud Trace Exporter
pip install --upgrade google-cloud-pubsub
pip install opentelemetry-exporter-cloud-trace
Install the flask and flask bootstrap packages
pip install flask flask-bootstrap
A secret key is needed to send messages. One can be generated by performing these steps:
chmod +x setup.sh && . setup.sh