Add rollbar module

This commit is contained in:
Oliver Davies 2021-04-14 14:39:04 +01:00
parent 168fab9955
commit 51eb917570
17 changed files with 1068 additions and 1 deletions

View file

@ -0,0 +1,10 @@
enabled: false
access_token: null
capture_uncaught: true
capture_unhandled_rejections: false
environment: production
log_level: []
channels: ''
rollbar_js_url: https://cdnjs.cloudflare.com/ajax/libs/rollbar.js/1.9.3/rollbar.min.js
host_white_list: ''

View file

@ -0,0 +1,31 @@
rollbar.settings:
type: config_object
label: 'Rollbar settings'
mapping:
enabled:
type: boolean
label: 'Whether Rollbar is enabled'
access_token:
type: string
label: 'The rollbar API access token'
capture_uncaught:
type: boolean
label: 'The rollbar captureUncaught option'
capture_unhandled_rejections:
type: boolean
label: 'The rollbar captureUnhandledRejections option'
environment:
type: string
label: 'Environment that will be reported to rollbar'
log_level:
type: sequence
label: 'Log levels that will be reported to rollbar'
channels:
type: string
label: 'Channels to filter'
rollbar_js_url:
type: string
label: 'URL to the rollbar library'
host_white_list:
type: string
label: 'Comma-separated host white list'