Add instance as sentry tag

This commit is contained in:
Georg Krause 2022-08-13 11:02:35 +02:00
parent e74c7a86c7
commit 9ce3022427
No known key found for this signature in database
GPG Key ID: 2970D504B2183D22
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ if env("FUNKWHALE_SENTRY_DSN", default=None) is not None:
environment="api", environment="api",
debug=env.bool("DEBUG", False), debug=env.bool("DEBUG", False),
) )
sentry_sdk.set_tag("instance", env("FUNKWHALE_HOSTNAME"))
""" """
Default logging level for the Funkwhale processes Default logging level for the Funkwhale processes