Skip to content

A sample Python 3 chat application to showcase OpenTelemetry tracing

License

Notifications You must be signed in to change notification settings

apurvchandra/pythonchat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythonchat

A sample Python 3 chat application to showcase OpenTelemetry tracing

Dependencies

OpenTelemetry

Install the API and SDK packages

pip install opentelemetry-api opentelemetry-sdk

Google Cloud

Install the Pub/Sub client and the Cloud Trace Exporter

pip install --upgrade google-cloud-pubsub

pip install opentelemetry-exporter-cloud-trace

Flask

Install the flask and flask bootstrap packages

pip install flask flask-bootstrap

Setup

A secret key is needed to send messages. One can be generated by performing these steps:

chmod +x setup.sh && . setup.sh

About

A sample Python 3 chat application to showcase OpenTelemetry tracing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.1%
  • HTML 16.6%
  • Shell 1.3%