Skip to main content

vitalrix (Python)

Send traces, metrics and logs from Python to VitalRix in one call. Uses the official OpenTelemetry SDK and exports over OTLP/HTTP.

pip install vitalrix
# plus the instrumentations for what you use, for example:
pip install opentelemetry-instrumentation-flask opentelemetry-instrumentation-requests

.env (server side; the application's Connect tab in VitalRix creates the key):

VITALRIX_URL=https://api.vitalrix.com
VITALRIX_API_KEY=pk_...              # log.write, metric.write, trace.write
OTEL_SERVICE_NAME=shop-api           # the application's name in VitalRix
DEPLOYMENT_ENVIRONMENT=production
SERVICE_VERSION=1.4.2                # optional: marks deployments
import logging
import vitalrix

vitalrix.init()                       # call once, before your app starts serving

logging.getLogger(__name__).info("order placed")   # goes to VitalRix with the request's trace id

init() turns on every installed opentelemetry-instrumentation-* package (Flask, Django, FastAPI, requests, httpx, psycopg, SQLAlchemy, Celery, ...). Pass instrument=False to do it yourself, logs=False to keep logging local, metrics_enabled=False to skip metrics. Without VITALRIX_API_KEY it sends nothing and logs a warning.

Check the key and URL:

vitalrix check

Requires Python 3.9+. Tests: pip install -e ".[test]" && pytest.

Metadata

Release files for vitalrix 0.1.0

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

Source distribution (sdist)

Source distribution for vitalrix 0.1.0
File Size Uploaded Provenance Actions
vitalrix-0.1.0.tar.gz 6.1 kB Without provenance Details for vitalrix-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vitalrix 0.1.0
File Interpreter ABI Platform Actions
vitalrix-0.1.0-py3-none-any.whl Python 3 none any Details for vitalrix-0.1.0-py3-none-any.whl

Total release size: 13.2 kB

Release files / vitalrix-0.1.0.tar.gz

Download URL vitalrix-0.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
40091ea6b4991eca7aeb184558be80ab8aa47a280568055528814065288820a3
BLAKE2b-256 checksum
How to use checksums
3410adf6d4b9d786a1f8ba1277d63a6c92ada1f2fa97fdf9b7dc83cc57738eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.3

Release files / vitalrix-0.1.0-py3-none-any.whl

Download URL vitalrix-0.1.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a10c7df16e2ac6ddd703e4c51a0dfebc9a4d45e6454a17eac1f546f4f3508eb1
BLAKE2b-256 checksum
How to use checksums
1fdaf4fee56cf1973a352279a4de8776770fe7727aa5979783359ee1b44d1af6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.3

Security for vitalrix 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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