Skip to content

Commit fdbbb4e

Browse files
authored
chore(ondemand metrics): remove variables from issue title (#95317)
1 parent 4758d56 commit fdbbb4e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/sentry/tasks/on_demand_metrics.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,13 @@ def check_field_cardinality(
467467
scope.set_tag("widget_query.column_name", column)
468468
if widget_query:
469469
sentry_sdk.capture_message(
470-
f"Cardinality exceeded for dashboard_widget_query:{widget_query.id} with count:{count} and column:{column}"
470+
"On Demand Metrics: Cardinality exceeded for dashboard_widget_query",
471+
level="warning",
472+
tags={
473+
"widget_query.id": widget_query.id,
474+
"widget_query.column_name": column,
475+
"widget_query.count": count,
476+
},
471477
)
472478
except SoftTimeLimitExceeded as error:
473479
scope.set_tag("widget_soft_deadline", True)

0 commit comments

Comments
 (0)