Documentation for sentry config

Documents keys added in https://github.com/matrix-org/matrix-react-sdk/pull/6597
This commit is contained in:
James Salter 2021-08-18 09:01:29 +01:00 committed by GitHub
parent a1261254c9
commit 931ac30f6b
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