What is it?
CanConTech Tracing
Collection of tracing utility functions
Phoenix authentication
If your Phoenix server has auth enabled, set PHOENIX_API_KEY and init_tracing(...)
will automatically send authorization: Bearer <PHOENIX_API_KEY> with trace exports.
You can still pass explicit exporter headers via init_tracing(..., headers=...).
Installation
- Install uv:
- Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex" - macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Windows:
- Set env var
UV_NATIVE_TLS=trueto avoid certificate errors - Sync environment:
uv sync. This will create a new default virtual environment (.venv) if it doesn't exist
Testing
unit tests
uv run pytest src/tests/unit
integration tests
ARIZE_CONTAINER_ID=$(docker run --rm -d -p 6006:6006 -p 4317:4317 -i -t arizephoenix/phoenix:latest)
uv run pytest src/tests/integration
docker stop $ARIZE_CONTAINER_ID
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cancontech_tracing-0.0.3.tar.gz
(47.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cancontech_tracing-0.0.3.tar.gz.
File metadata
- Download URL: cancontech_tracing-0.0.3.tar.gz
- Upload date:
- Size: 47.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec0c5f58e4e956d97944c136702d3c82351a3e243855b2902d326a932df02972
|
|
| MD5 |
971a324db2715d282010c9492b39e0e0
|
|
| BLAKE2b-256 |
131430929ff8b7c7e623cc2035ef3f28a957ab4fa18dd7700d4621a6099b8771
|
File details
Details for the file cancontech_tracing-0.0.3-py3-none-any.whl.
File metadata
- Download URL: cancontech_tracing-0.0.3-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02e9376170a1f3dda7ad5620a7673264481259f2a35bf90b84eb27f566c6b24
|
|
| MD5 |
911f75704b34e90c4ed9ccef5e94cb7c
|
|
| BLAKE2b-256 |
5e89a72ea8cf2b8e347c89f641281a3abd9306f9be060312d03a13594110a05c
|