From ff7f491842bf7fc75a09c236b1f0e9d8488a574c Mon Sep 17 00:00:00 2001 From: trent-codecov Date: Thu, 2 May 2024 15:40:32 -0400 Subject: [PATCH] Add cluster tag for sentry tags --- codecov/settings_base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codecov/settings_base.py b/codecov/settings_base.py index f6d7ee105a..658f4805c6 100644 --- a/codecov/settings_base.py +++ b/codecov/settings_base.py @@ -550,6 +550,8 @@ ), }, ) + if os.getenv("CLUSTER_ENV"): + sentry_sdk.set_tag("cluster", os.getenv("CLUSTER_ENV")) elif IS_DEV: sentry_sdk.init( spotlight=IS_DEV,