summary refs log tree commit diff
path: root/synapse/app
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 /synapse/app
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 'synapse/app')
-rw-r--r--synapse/app/_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/_base.py b/synapse/app/_base.py
index 9ac7e4313e..aed98f03af 100644
--- a/synapse/app/_base.py
+++ b/synapse/app/_base.py
@@ -665,6 +665,7 @@ def setup_sentry(hs: "HomeServer") -> None:
     sentry_sdk.init(
         dsn=hs.config.metrics.sentry_dsn,
         release=SYNAPSE_VERSION,
+        environment=hs.config.metrics.sentry_environment,
     )
 
     # We set some default tags that give some context to this instance