Corp Error Agent
A lightweight runtime agent that captures uncaught exceptions and environment snapshots.
Install this in your project to capture errors and send them to a backend for further processing and fix suggestions.
Backend URL Configuration
The backend URL defaults to http://127.0.0.1:8000, but you can change it in two ways:
-
Environment Variable (recommended for quick changes):
- Set the environment variable
ERROR_AGENT_URLto your backend URL before running your Python process.- On Windows (cmd):
set ERROR_AGENT_URL=http://your-backend:port - On PowerShell:
$env:ERROR_AGENT_URL="http://your-backend:port" - On Unix/bash:
export ERROR_AGENT_URL=http://your-backend:port
- On Windows (cmd):
- Set the environment variable
-
Persistent CLI Configuration:
- Use the provided CLI helper to set the backend URL once per machine:
python -m corp_error_agent.cli configure --url http://your-backend:port
- This stores the URL in a user config file for persistent use.
- Use the provided CLI helper to set the backend URL once per machine:
Telemetry Server
You can use or further customize the corp_error_agent_server Django REST project as a telemetry server for this package.
Metadata
Release files for corp-error-agent 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| corp_error_agent-0.4.2.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| corp_error_agent-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / corp_error_agent-0.4.2.tar.gz
| Download URL | corp_error_agent-0.4.2.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aada24a4f5316bac2cb39ad361a71c81136ddd4aa5076daaff7d7a4cf9eeceff
|
|
BLAKE2b-256 checksum How to use checksums |
340775b83d99798ef61031929a2e6ac63dd453048e9e62a226ce6da67955d2cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.0
|
Release files / corp_error_agent-0.4.2-py3-none-any.whl
| Download URL | corp_error_agent-0.4.2-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff0c8895a4d7ce99d1753223a8c6706a14584649d5e09cde21c569960482bc07
|
|
BLAKE2b-256 checksum How to use checksums |
0ba0b31a8a5e5f47d5f86449c721cdeeac3cbb843b02473855cced7e4add1487
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.0
|