Merge pull request #18608 from vector-im/sentry-config

Documentation for sentry config
This commit is contained in:
James Salter 2021-08-23 11:43:49 +01:00 committed by GitHub
commit f7cc33688d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,6 +139,9 @@ For a good example, see https://develop.element.io/config.json.
1. `posthog`: [Posthog](https://posthog.com/) integration config. If not set, Posthog analytics are disabled. 1. `posthog`: [Posthog](https://posthog.com/) integration config. If not set, Posthog analytics are disabled.
1. `projectApiKey`: The Posthog project API key 1. `projectApiKey`: The Posthog project API key
2. `apiHost`: The Posthog API host 2. `apiHost`: The Posthog API host
1. `sentry`: [Sentry](https://sentry.io/) configuration for rageshake data being sent to sentry.
1. `dsn`: the Sentry [DSN](https://docs.sentry.io/product/sentry-basics/dsn-explainer/)
2. `environment`: (optional) The [Environment](https://docs.sentry.io/product/sentry-basics/environments/) to pass to sentry
Note that `index.html` also has an og:image meta tag that is set to an image Note that `index.html` also has an og:image meta tag that is set to an image
hosted on riot.im. This is the image used if links to your copy of Element hosted on riot.im. This is the image used if links to your copy of Element