diff options
author | Zeeshan Rafiq <76243209+zeeshanrafiqrana@users.noreply.github.com> | 2023-12-12 21:04:41 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 16:04:41 +0000 |
commit | e108cde669fcc0a9f1def9d8771f962c9b0b312f (patch) | |
tree | e926fb5a9fc63e2cbc2538cf1cde95089085befa /synapse/config/metrics.py | |
parent | Add avatar and topic settings for server notice room (#16679) (diff) | |
download | synapse-e108cde669fcc0a9f1def9d8771f962c9b0b312f.tar.xz |
Sentry Alert configuration based on production and development environment (#16738)
Diffstat (limited to '')
-rw-r--r-- | synapse/config/metrics.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/metrics.py b/synapse/config/metrics.py index 8c1c9bd12d..cb2a61a1c7 100644 --- a/synapse/config/metrics.py +++ b/synapse/config/metrics.py @@ -61,6 +61,7 @@ class MetricsConfig(Config): check_requirements("sentry") self.sentry_dsn = config["sentry"].get("dsn") + self.sentry_environment = config["sentry"].get("environment") if not self.sentry_dsn: raise ConfigError( "sentry.dsn field is required when sentry integration is enabled" |