pytracer-gateway
Layer 2 of pyTracer: a stateless FastAPI service that receives batched spans from deployed SDKs, validates them against the span schema, authenticates each project by API key, and writes them through to the ClickHouse trace store via an internal queue so a traffic spike never blocks ingestion.
# Run it (writes to ClickHouse from docker-compose):
PYTRACER_GATEWAY_API_KEYS="devkey:my-app" uvicorn pytracer_gateway.app:build_default_app --factory --port 8080
POST /v1/spans body: {"spans": [ <span>, ... ]} header: X-API-Key: <key>
GET /healthz liveness
GET /readyz readiness (ingest worker running)
GET /v1/stats ingest counters
Metadata
Release files for pytracer-gateway 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytracer_gateway-0.1.0.tar.gz | 30.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytracer_gateway-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.2 kB
Release files / pytracer_gateway-0.1.0.tar.gz
| Download URL | pytracer_gateway-0.1.0.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc4b3bba42642f57cfa70f3728d74a4d4d34a8ab23e418fd87b09f4f0315087e
|
|
BLAKE2b-256 checksum How to use checksums |
789266a2d07e064286ad1b3b2e0c081aad5ac44fc8ca5f67e3c2faaf04cc6050
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Release files / pytracer_gateway-0.1.0-py3-none-any.whl
| Download URL | pytracer_gateway-0.1.0-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c39d33eb1bd694300573ca340177bc4e0e787fc48390901becc65b1f38048460
|
|
BLAKE2b-256 checksum How to use checksums |
147ce9ab0deacb3368a581be562e42d3c53db5ab246646f4a9a659e6265322fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|