diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 99d0b0f6f..7848a5703 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -374,11 +374,11 @@ if _ERROR_REPORTING: environment=CONFIG.y("error_reporting.environment", "customer"), send_default_pii=CONFIG.y_bool("error_reporting.send_pii", False), ) - set_tag("authentik:build_hash", os.environ.get(ENV_GIT_HASH_KEY, "tagged")) + set_tag("authentik.build_hash", os.environ.get(ENV_GIT_HASH_KEY, "tagged")) set_tag( - "authentik:env", "kubernetes" if "KUBERNETES_PORT" in os.environ else "compose" + "authentik.env", "kubernetes" if "KUBERNETES_PORT" in os.environ else "compose" ) - set_tag("authentik:component", "backend") + set_tag("authentik.component", "backend") j_print( "Error reporting is enabled", env=CONFIG.y("error_reporting.environment", "customer"), diff --git a/web/src/api/Sentry.ts b/web/src/api/Sentry.ts index 6668d862c..69807097d 100644 --- a/web/src/api/Sentry.ts +++ b/web/src/api/Sentry.ts @@ -6,7 +6,7 @@ import { me } from "./Users"; import { config } from "./Config"; import { Config } from "authentik-api"; -export const TAG_SENTRY_COMPONENT = "authentik:component"; +export const TAG_SENTRY_COMPONENT = "authentik.component"; export function configureSentry(canDoPpi: boolean = false, tags: { [key: string]: string; } = {}): Promise { return config().then((config) => {