Python
You can setup tracing for your Python application. Check sample configuration on how to setup traces.
Clone
If you don't have Python3 installed, please install it and then follow below steps.
Open tracing.py
file from that repository. and make changes to the highlighted lines below
Setup up credentials
You will get url
and Authorization
key here http://cloud.openobserve.ai/ingestion/traces/
Replace the url
and Authorization
key in the tracing.py
file
Setup Service/Application
Follow the steps given in the sample-tracing-python readme and then start server
The server is now running, navigate to http://127.0.0.1:5000Refresh page couple of times to get more traces exported.
Traces are captured, you can check these captured traces here https://cloud.openobserve.ai/traces
Filter traces with your service name python-service
Click on any trace to check trace data
Trace can have multiple spans, each span represents single operation or task within that trace. Click on any span to check span details.