You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supercronic offers integration with Sentry for real-time error tracking and reporting. This feature helps in identifying, triaging, and fixing crashes in your cron jobs.
258
258
259
+
#### Enabling Sentry
260
+
261
+
To enable Sentry reporting, configure the Sentry Data Source Name (DSN) e.g. use the `-sentry-dsn` argument when starting Supercronic
259
262
```
260
263
$ ./supercronic -sentry-dsn DSN
261
264
```
@@ -265,6 +268,22 @@ When a DSN is specified via both the environment variable and the command line p
265
268
the parameter's DSN has priority.
266
269
267
270
271
+
#### Additional Sentry Configuration
272
+
273
+
You can also specify the environment and release for Sentry to provide more context to the error reports:
274
+
275
+
Environment: Use the `-sentry-environment` flag or the `SENTRY_ENVIRONMENT` environment variable to set the environment tag in Sentry.
0 commit comments