Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

A plugin that enables sentry.io error reporting in genie-router.

License

Notifications You must be signed in to change notification settings

genie-ai/genie-router-plugin-sentry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genie-router-plugin-sentry

This genie-router plugin monitors for any errors occurring in the running application using Sentry.

Installation and configuration

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>"
    }
  }
}