This genie-router plugin monitors for any errors occurring in the running application using Sentry.
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.
Replace the DSN value with the actual project DSN from sentry.io.
{
"plugins": {
"sentry": {
"dsn": "https://******@sentry.io/<project>"
}
}
}