Skip to main content

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


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.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

errordebugger-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file errordebugger-0.2.0.tar.gz.

File metadata

  • Download URL: errordebugger-0.2.0.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

Hashes for errordebugger-0.2.0.tar.gz
Algorithm Hash digest
SHA256 db40cacdb026d28a64a9bd91380c03b54bc03b6407016cfa325cdc20aa1a6e1d
MD5 95fc691e6bf09d9c0ef41eec85acb9b7
BLAKE2b-256 984e68f5065edfcc1ce34939671ff5b5067cb686211330c37523893ca326e0d0

See more details on using hashes here.

File details

Details for the file errordebugger-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: errordebugger-0.2.0-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

Hashes for errordebugger-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3012b44214f1607bd32cd6d39e99c6ab022edb66cd53c7ecf80330657cd6e7c
MD5 6eb928faca9796535a1252a84b482e65
BLAKE2b-256 0043bb66c0ce43cce293ed51be3c4f99eeb5a53869f51a79be1fed71290667cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page