root: also use analytics uuid for sentry

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-24 15:13:27 +01:00
parent 03891cbe09
commit 22d1dd801c
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ if _ERROR_REPORTING:
set_tag("authentik.build_hash", build_hash) set_tag("authentik.build_hash", build_hash)
set_tag("authentik.env", env) set_tag("authentik.env", env)
set_tag("authentik.component", "backend") set_tag("authentik.component", "backend")
set_tag("authentik.uuid", sha512(SECRET_KEY.encode("ascii")).hexdigest()[:16])
j_print( j_print(
"Error reporting is enabled", "Error reporting is enabled",
env=CONFIG.y("error_reporting.environment", "customer"), env=CONFIG.y("error_reporting.environment", "customer"),