Skip to content

3.9.0 — 2025-09-04

← 3.10.0 | 3.8.1 → | ↑ 3.x series

Added

Tracing Decorators

  • Pure Python APM Tracing - Added @capture_transaction and @capture_span decorators for pure Python applications
    • @capture_transaction decorator for top-level transaction tracing without FastAPI/gRPC dependencies
    • @capture_span decorator for nested span tracking within existing transactions
    • Seamless integration with existing Sentry and Elastic APM configuration system
    • Conditional tracing based on config.SENTRY.IS_ENABLED and config.ELASTIC_APM.IS_ENABLED settings
    • Proper error handling and graceful fallbacks when APM libraries are unavailable
    • Automatic initialization of Sentry with full config parameters for transactions
    • Uses existing APM clients for spans to work within transaction context

Developer Experience

  • Comprehensive Decorator Exports - Enhanced archipy.helpers.decorators module accessibility
    • Exported all 17 decorators in __init__.py for easy discovery and import
    • Includes tracing, caching, retry, database atomic operations, deprecation, and utility decorators
    • Simplified import syntax for all decorator functionality