Liking cljdoc? Tell your friends :D

wagoe.observability.errors.shell.adapters.no-op

No-op error reporting adapter that safely ignores all error reporting operations.

This adapter implements all error reporting protocols but performs no actual error reporting, making it safe for feature modules to use error reporting protocols even when error reporting is disabled or not configured.

No-op error reporting adapter that safely ignores all error reporting operations.

This adapter implements all error reporting protocols but performs no actual
error reporting, making it safe for feature modules to use error reporting
protocols even when error reporting is disabled or not configured.
raw docstring

wagoe.observability.errors.shell.adapters.sentry

Sentry error reporting adapter implementation.

This adapter integrates with Sentry (https://sentry.io) for production error tracking and monitoring. It implements all error reporting protocols to provide comprehensive exception tracking, context management, and alerting capabilities.

Features:

  • Exception capture with stack traces
  • Message-level reporting (debug, info, warning, error, fatal)
  • Context management (user, tags, extra data, breadcrumbs)
  • Environment and release tracking
  • Sampling and filtering capabilities
  • Runtime configuration management

Configuration: The adapter requires a Sentry DSN (Data Source Name) and optionally accepts:

  • Environment name (dev, staging, prod)
  • Release identifier
  • Sample rate (0.0 to 1.0)
  • Debug mode flag
  • Server name

Example: (def sentry-reporter (create-sentry-error-reporter {:dsn "https://your-dsn@sentry.io/project-id" :environment "production" :release "1.0.0" :sample-rate 1.0 :debug false}))

Sentry error reporting adapter implementation.

This adapter integrates with Sentry (https://sentry.io) for production error tracking
and monitoring. It implements all error reporting protocols to provide comprehensive
exception tracking, context management, and alerting capabilities.

Features:
- Exception capture with stack traces
- Message-level reporting (debug, info, warning, error, fatal)
- Context management (user, tags, extra data, breadcrumbs)
- Environment and release tracking
- Sampling and filtering capabilities
- Runtime configuration management

Configuration:
The adapter requires a Sentry DSN (Data Source Name) and optionally accepts:
- Environment name (dev, staging, prod)
- Release identifier
- Sample rate (0.0 to 1.0)
- Debug mode flag
- Server name

Example:
(def sentry-reporter
  (create-sentry-error-reporter
    {:dsn "https://your-dsn@sentry.io/project-id"
     :environment "production"
     :release "1.0.0"
     :sample-rate 1.0
     :debug false}))
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close