Skip to content

This project generates traces and logs for REST API in Python. The generated traces and logs have correlation.

License

Notifications You must be signed in to change notification settings

SigNoz/otlp-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTLP-Python

Run

docker run --name otlp-python -p 5002:5002 --add-host signoz:host-gateway -e OTLP_ENDPOINT="signoz:4317" -e INSECURE="true" signoz/otlp-python

Build

docker build -t otlp-python .

docker run --name otlp-python -p 5002:5002 --add-host signoz:host-gateway -e OTLP_ENDPOINT="signoz:4317" -e INSECURE="true" otlp-python

Generate Data

curl http://127.0.0.1:5002/?user=alice

Screenshots

Traces page:

traces page

Logs page:

logs page