Connect Python (Django, FastAPI, Flask)
Set Python (Django, FastAPI, Flask) up with one pull request Xovris opens for you.
npx xovris@latest initnpx xovris@latest initnpx xovris@latest initWill it fit your project?
Checks a package.json fits – in your browser, sent nowhere.
Checked right here, by the same rules the set-up command uses. Nothing is sent anywhere.
Run the wizard
Xovris sets Python (Django, FastAPI, Flask) up for you: connect GitHub once and Xovris raises one pull request that installs the SDK and writes the configuration, for you to review and merge – then it shows the first event the moment it arrives. Do it yourself instead: run one command in your Python (Django, FastAPI, Flask) project – it signs you in through your browser, installs the SDK, writes the configuration and proves the first event arrived, and you never copy a key.
Xovris makes this change for you: connect GitHub once and Xovris raises a pull request that lists every change, for you to review and merge.
What the wizard changes
Before writing anything the wizard shows each change. It records every change in a manifest, so removal is exact.
The wizard adds OpenTelemetry for Python with the instrumentation for each library your app uses (uv, Poetry or requirements.txt) and starts your Procfile through opentelemetry-instrument and writes the OpenTelemetry variables to .env; Python (Django, FastAPI, Flask) is released once its install test passes in CI.
This set-up works on pip, uv and poetry, as of 14 November 2026.
Timed on the same small app each run, from the command to the first real error stored: 5 of 5 runs reached it, a median of 12.2 s (90th percentile 18.9 s) and 2 answers or presses from the person, measured 14 November 2026 in Xovris’s own test setting.
PostHog’s own set-up on the same app: 2 of 5 runs reached it, a median of 340 s and 13 answers or presses from the person.
PostHog’s runs that did not reach it: no event in its account within 15 min of the command (3).
Every stack the race has run, side by side
- Detects Python (Django, FastAPI, Flask) and your package manager
- Opens your browser to sign you in – no key to paste
- Installs
opentelemetry-distro,opentelemetry-exporter-otlp - Writes to .env
OTEL_EXPORTER_OTLP_ENDPOINT,OTEL_EXPORTER_OTLP_HEADERS - Waits until your first event is stored, then says so
- Records every change, so this takes it all out again:
npx xovris@latest remove
Variables it writes
The wizard writes these to .env and adds that file to .gitignore if it is not already ignored. It refuses to write a key into a file git tracks.
| Variable | Purpose |
|---|---|
OTEL_EXPORTER_OTLP_ENDPOINT | Where events are sent |
OTEL_EXPORTER_OTLP_HEADERS | The ingestion key for this project (write-only: it can send events, never read them) |
If you already use another tool
The wizard looks for existing instrumentation first and tells you what it will do before it changes anything, so you never send each error twice.
| Found | What the wizard does |
|---|---|
| OpenTelemetry | Adds Xovris as a second OpenTelemetry exporter – your existing setup keeps working unchanged. |
| Sentry | Offers to run both side by side for a while, or to switch over; it never sends one error to Xovris twice. |
| Datadog and New Relic | Leaves the existing agent in place and offers to export through OpenTelemetry instead of adding a second agent. |
Check it works
The wizard ends by waiting for your first stored event. To check again later, run:
npx xovris@latest verifynpx xovris@latest verifynpx xovris@latest verifyRemove it
This puts back every change the setup made and switches its key off, then confirms both:
npx xovris@latest removenpx xovris@latest removenpx xovris@latest removeWhat you get
| Signal | State |
|---|---|
| Server errors | Through OpenTelemetry |
| Browser errors | Not collected |
| Traces | Through OpenTelemetry |
| Metrics | Through OpenTelemetry |
| Logs | Through OpenTelemetry |
| Releases | Not collected |
| Readable stack traces | Not collected |
Supported versions
Written for Python 3.9 or later.
| Runtime | Python >=3.9 |
|---|---|
| Package managers | pip, uv, poetry |
| Packages | pip install opentelemetry-distro opentelemetry-exporter-otlp |
Your data is never used to train our AI. How your data is kept
A problem is called fixed only once it works again. How each fix is checked
XOVRIS LTD, registered in England and Wales, company number 17499910. Registered office: 66 Paul Street, London EC2A 4NA.