Marketplace

Sentry

Other

Sentry error/event sink.

togo-framework
bash
togo install togo-framework/log-sentry

Install

bash
togo install togo-framework/log-sentry
<h1 align="center">log-sentry</h1>

Sentry error tracking for togo. Captures every kernel error event (fired by togo.ReportError when a request or background job fails) to Sentry with stack traces, environment and release tagging.

bash
togo install togo-framework/log-sentry

Install alongside togo-framework/log. Blank-importing the plugin registers it.

Env

Var
Required
Description
SENTRY_DSNyesYour Sentry DSN. When unset the plugin is a no-op.
SENTRY_ENVIRONMENTnoe.g. production, staging.
SENTRY_RELEASEnoRelease identifier for tagging.
Rows per page
1–3 of 3
Page 1 of 1

How it works

On boot (after the log plugin) it initialises the Sentry SDK and subscribes to the kernel error hook. Errors are sent asynchronously; buffered events are flushed on the shutdown hook.

MIT © togo-framework


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>