hookshot/docs/sentry.md
Will Hunt b9313cd140
Add Sentry support (#754)
* Add sentry support

* Add basic listening for errors on express.

* Additional event types

* Add a default config

* changelog

* Improve wording

* Add docs
2023-05-18 11:05:23 +00:00

15 lines
441 B
Markdown

Sentry
======
Hookshot supports [Sentry](https://sentry.io/welcome/) error reporting.
You can configure Sentry by adding the following to your config:
```yaml
sentry:
dsn: https://examplePublicKey@o0.ingest.sentry.io/0 # The DSN for your Sentry project.
environment: production # The environment sentry is being used in. Can be omitted.
```
Sentry will automatically include the name of your homeserver as the `serverName` reported.