Skip to main content

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, and the gateway's version
GET  /readyz        readiness (ingest worker running)
GET  /v1/stats      ingest counters

Compatibility

The gateway ignores span fields it does not recognise instead of rejecting the span, so a newer SDK that adds an optional field still ingests against an older gateway. When upgrading a release that adds a span field, upgrade the gateway before the SDKs that send to it, so the field is understood wherever it lands.

Metadata

Release files for pytracer-gateway 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytracer-gateway 0.1.4
File Size Uploaded Provenance Actions
pytracer_gateway-0.1.4.tar.gz 39.9 kB With provenance Details for pytracer_gateway-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytracer-gateway 0.1.4
File Interpreter ABI Platform Actions
pytracer_gateway-0.1.4-py3-none-any.whl Python 3 none any Details for pytracer_gateway-0.1.4-py3-none-any.whl

Total release size: 72.4 kB

Release files / pytracer_gateway-0.1.4.tar.gz

Download URL pytracer_gateway-0.1.4.tar.gz
Size 39.9 kB
Tags Source
SHA-256 checksum
How to use checksums
04d49956dcb3c0753eee4e82eaf64dab1614d39564e958e442d35ea03331f4af
BLAKE2b-256 checksum
How to use checksums
a0c3a7459315db6c8243d5915443d450ba8b6270b8613e2c895a36162fac6a3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / pytracer_gateway-0.1.4-py3-none-any.whl

Download URL pytracer_gateway-0.1.4-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77d775d44487688a90f4b04fdb44c86ebe740584f8162cebdcdaa5f3a033567f
BLAKE2b-256 checksum
How to use checksums
706265e1ac8a628eac838e7bc8b11afc9cf12ee48fc78f31d008cec09fde7ac8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for pytracer-gateway 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pytracer_gateway-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page