1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

Add a new configuration option: sentryDSN

Adding a new config option, ``sentryDSN`` to provide the Sentry DSN if
the user wants to monitor the BGPalerter app for runtime exceptions.

I have updated the package.json file to the version recommended in
https://docs.sentry.io/error-reporting/quickstart/?platform=node.

This is an optional config bit that enables Sentry monitoring only when
``sentryDSN`` is provided.
This commit is contained in:
Mircea Ulinic
2020-01-06 12:27:38 +00:00
parent 5f0084ba5d
commit 545044af62
5 changed files with 17 additions and 6 deletions

View File

@@ -176,3 +176,10 @@ checkForUpdatesAtBoot: true
# method: get
pidFile: bgpalerter.pid
############################
#
# sentryDSN: https://<key>@sentry.io/<project>
#
# Create a new project for monitoring BGPalerter on your Sentry server and grab
# the generated DSN.