From 62c677a09eaa6275082877a45e4652f45de29e07 Mon Sep 17 00:00:00 2001 From: Rachel Chen Date: Tue, 23 Jul 2024 09:28:47 -0700 Subject: [PATCH] code --- src/sentry/utils/snuba.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sentry/utils/snuba.py b/src/sentry/utils/snuba.py index 777a613b8900f4..0c90beba59bfb1 100644 --- a/src/sentry/utils/snuba.py +++ b/src/sentry/utils/snuba.py @@ -1110,11 +1110,11 @@ def _bulk_snuba_query(snuba_requests: Sequence[SnubaRequest]) -> ResultSet: quota_allowance_summary["threads_used"], ) for k, v in quota_allowance_summary["throttled_by"].items(): - k = allocation_policy_prefix + k + k = allocation_policy_prefix + "throttling_policy" + k span.set_tag(k, v) sentry_sdk.set_tag(k, v) for k, v in quota_allowance_summary["rejected_by"].items(): - k = allocation_policy_prefix + k + k = allocation_policy_prefix + "rejecting_policy" + k span.set_tag(k, v) sentry_sdk.set_tag(k, v)