summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorZeeshan Rafiq <76243209+zeeshanrafiqrana@users.noreply.github.com>2023-12-12 21:04:41 +0500
committerGitHub <noreply@github.com>2023-12-12 16:04:41 +0000
commite108cde669fcc0a9f1def9d8771f962c9b0b312f (patch)
treee926fb5a9fc63e2cbc2538cf1cde95089085befa /docs
parentAdd avatar and topic settings for server notice room (#16679) (diff)
downloadsynapse-e108cde669fcc0a9f1def9d8771f962c9b0b312f.tar.xz
Sentry Alert configuration based on production and development environment (#16738)
Diffstat (limited to 'docs')
-rw-r--r--docs/usage/configuration/config_documentation.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md
index 90ea8d093f..4efbd91dde 100644
--- a/docs/usage/configuration/config_documentation.md
+++ b/docs/usage/configuration/config_documentation.md
@@ -2777,7 +2777,11 @@ enable_metrics: true
 ### `sentry`
 
 Use this option to enable sentry integration. Provide the DSN assigned to you by sentry
-with the `dsn` setting.
+with the `dsn` setting. 
+
+ An optional `environment` field can be used to specify an environment. This allows
+ for log maintenance based on different environments, ensuring better organization
+ and analysis..
 
 NOTE: While attempts are made to ensure that the logs don't contain
 any sensitive information, this cannot be guaranteed. By enabling
@@ -2788,6 +2792,7 @@ through insecure notification channels if so configured.
 Example configuration:
 ```yaml
 sentry:
+    environment: "production"
     dsn: "..."
 ```
 ---