/otlp-python

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

Primary LanguagePythonMIT LicenseMIT

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