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.1.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.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: errordebugger-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for errordebugger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b2efd1bdf8220df42b21b812c11dca71079c8f27dd191d307d5e2f3d6ad6b202
MD5 81792a3a9d22a77e23daac3089f51cf0
BLAKE2b-256 15142fa161855c01651944d8e29fe849233eb1f1bfa10977381148bf8a26a43d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for errordebugger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5769d1f1abfa6bb04b5d3d71844385bb8592242faa0912884dc2006abf56d18
MD5 9948022a7aa89dfbef99c61490f87d25
BLAKE2b-256 e83bc21d4867b5bfdd5c9eddf0fb5f358840248958a229b22c3d1e7acfcc5e28

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