https://github.com/signoz/otlp-python
This project generates traces and logs for REST API in Python. The generated traces and logs have correlation.
https://github.com/signoz/otlp-python
Last synced: 5 days ago
JSON representation
This project generates traces and logs for REST API in Python. The generated traces and logs have correlation.
- Host: GitHub
- URL: https://github.com/signoz/otlp-python
- Owner: SigNoz
- License: mit
- Created: 2023-05-25T11:25:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T07:12:08.000Z (about 1 year ago)
- Last Synced: 2025-06-12T00:55:55.811Z (4 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OTLP-Python
## Run
```bash
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
```bash
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
```bash
curl http://127.0.0.1:5002/?user=alice
```## Screenshots
**Traces page:**

**Logs page:**
