From cb66b1eca4a00c20bcc32b04caa653f93a70362f Mon Sep 17 00:00:00 2001 From: Rohit Date: Thu, 13 Jun 2024 12:41:43 -0400 Subject: [PATCH 1/3] Set tracking --- codecov/settings_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/codecov/settings_base.py b/codecov/settings_base.py index 4e63c70931..71105192d1 100644 --- a/codecov/settings_base.py +++ b/codecov/settings_base.py @@ -565,6 +565,7 @@ ) if os.getenv("CLUSTER_ENV"): sentry_sdk.set_tag("cluster", os.getenv("CLUSTER_ENV")) + sentry_sdk.set_user({"ip_address": "{{auto}}"}) elif IS_DEV: sentry_sdk.init( spotlight=IS_DEV, From 14e4b6937a9605f02ee4ad9b2e6b1eadb3d6a18a Mon Sep 17 00:00:00 2001 From: Rohit Vinnakota <148245014+rohitvinnakota-codecov@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:31:21 -0400 Subject: [PATCH 2/3] Update settings_base.py --- codecov/settings_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/codecov/settings_base.py b/codecov/settings_base.py index 71105192d1..eaffdf634b 100644 --- a/codecov/settings_base.py +++ b/codecov/settings_base.py @@ -555,6 +555,7 @@ RedisIntegration(), HttpxIntegration(), ], + set_default_pii=True, environment=SENTRY_ENV, traces_sample_rate=SENTRY_SAMPLE_RATE, _experiments={ From 8916b531a5855f7d7b5576b63f49fe881709157c Mon Sep 17 00:00:00 2001 From: Rohit Vinnakota <148245014+rohitvinnakota-codecov@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:09:49 -0500 Subject: [PATCH 3/3] Update settings_base.py --- codecov/settings_base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/codecov/settings_base.py b/codecov/settings_base.py index 7ea50cc3f5..0c770b463c 100644 --- a/codecov/settings_base.py +++ b/codecov/settings_base.py @@ -401,7 +401,6 @@ RedisIntegration(), HttpxIntegration(), ], - set_default_pii=True, environment=SENTRY_ENV, traces_sample_rate=SENTRY_SAMPLE_RATE, profiles_sample_rate=float(