@genie-ai/genie-router-plugin-sentry
Version:
A plugin that enables sentry.io error reporting in genie-router.
30 lines (21 loc) • 856 B
Markdown
genie-router-plugin-sentry
===========================
This [genie-router](https://github.com/matueranet/genie-router) plugin monitors
for any errors occurring in the running application using [Sentry](https://sentry.io).
Run `npm install --save matueranet/genie-router-plugin-sentry` in your genie-router plugin
location (default is `$HOME/.genie-router`). Add an attribute `sentry` to your `config.json`.
This plugin is added as a HTTP plugin, it is therefore required to have HTTP enabled
at the genie-router instance to use its functionality.
There is only one configuration item, the `dsn` of the configured project at sentry.io.
## Example
Replace the DSN value with the actual project DSN from sentry.io.
```
{
"plugins": {
"sentry": {
"dsn": "https://******@sentry.io/<project>"
}
}
}
```