From a99b08a4c99dc5192828eed000ca02ac8a7a822d Mon Sep 17 00:00:00 2001 From: Nathan Van Gheem Date: Tue, 23 Jan 2024 10:06:58 -0500 Subject: [PATCH] missing sentry setup (#1761) --- VERSION | 2 +- nucliadb_telemetry/nucliadb_telemetry/errors.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e0a8e3c1bd..257770671f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.40.1 \ No newline at end of file +2.41.0 \ No newline at end of file diff --git a/nucliadb_telemetry/nucliadb_telemetry/errors.py b/nucliadb_telemetry/nucliadb_telemetry/errors.py index cc51cb0c9e..47b2a018e6 100644 --- a/nucliadb_telemetry/nucliadb_telemetry/errors.py +++ b/nucliadb_telemetry/nucliadb_telemetry/errors.py @@ -143,5 +143,7 @@ def setup_sentry_logging_integration(for_loggers: List[str]) -> None: if settings.sentry_url: sentry_sdk.init( dsn=settings.sentry_url, + environment=settings.environment, integrations=[SentryLoggingIntegration(for_loggers)], ) + sentry_sdk.set_tag("zone", settings.zone)