A simplified Python SDK for ErrorDebugger via OpenTelemetry
Project description
ErrorDebugger Python SDK
A simplified Python SDK for ErrorDebugger, wrapping OpenTelemetry for easy integration.
Installation
pip install errordebugger
Usage
from errordebugger import init, capture_exception
import os
# Initialize the SDK
init(
dsn="http://localhost:8000",
token="your-project-token",
environment="production"
)
# Auto-instrumentation is enabled by default for supported libraries (Flask, Requests, etc.)
# Manual exception capture
try:
1 / 0
except Exception as e:
capture_exception(e)
Features
- One-line initialization: Automatically sets up OpenTelemetry TracerProvider and OTLP Exporter.
- Auto-instrumentation: Automatically instruments supported libraries if they are installed.
- Manual capture: Easily capture exceptions manually.
- Metadata: Automatically attaches service name, environment, and other metadata to traces.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
errordebugger-0.2.3.tar.gz
(5.2 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 errordebugger-0.2.3.tar.gz.
File metadata
- Download URL: errordebugger-0.2.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e423b9fdbbcc2b71d3501ea1528a254a99e8f55b8f90a58694a17eecf592c7e1
|
|
| MD5 |
86af81a02e46b78fc8d0e2458ef65de8
|
|
| BLAKE2b-256 |
bc787a032528d3186afe7b0e5b1bd1d67c70d9da93edff325cbb8851d41f0dc6
|
File details
Details for the file errordebugger-0.2.3-py3-none-any.whl.
File metadata
- Download URL: errordebugger-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7824be9c7ca90dbff8688b61ecc5217c69f68786dcd895395de15db03d110922
|
|
| MD5 |
6b241725ac3df14a221907499faf8ffb
|
|
| BLAKE2b-256 |
b4cfcede2873b9d4954b5f9ef786e12c25ac836aad8c22f7eedd7e32ccf7ba26
|