Skip to content

feat(telemetry): implement provider-agnostic telemetry sink with reportError dispatcher - #145

Closed
maxx-GENIUS wants to merge 2 commits into
StepFi-app:mainfrom
maxx-GENIUS:feat/issue-121-telemetry-sink
Closed

maxx-GENIUS wants to merge 2 commits into
StepFi-app:mainfrom
maxx-GENIUS:feat/issue-121-telemetry-sink

Conversation

@maxx-GENIUS

Copy link
Copy Markdown

Summary

Implements a provider-agnostic telemetry sink abstraction (TelemetrySink, TelemetryEvent) with a safe
eportError dispatcher that suppresses thrown errors, filters out expected user-rejections, and supports provider registration.

Closes #121

Changes

  • src/lib/telemetry.types.ts: Defined TelemetryEvent, TelemetrySink, and ErrorContext types.
  • src/lib/telemetry.ts: Implemented
    eportError,
    egisterSink, and default consoleSink.

Verification

  • Unit tested event dispatching, disabled toggles, and exception containment.

@EmeditWeb EmeditWeb closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(Critical) Error Reporting: provider-agnostic telemetry sink behind reportError

2 participants