Skip to content

Commit 0b59b5a

Browse files
chore(preprod): Use nonblocked project_id tag for e2e metric (#103390)
1 parent 677ac26 commit 0b59b5a

File tree

1 file changed

+2
-1
lines changed
  • src/sentry/preprod/size_analysis

1 file changed

+2
-1
lines changed

src/sentry/preprod/size_analysis/tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,13 @@ def compare_preprod_artifact_size_analysis(
215215

216216
time_now = timezone.now()
217217
e2e_size_analysis_compare_duration = time_now - artifact.date_added
218+
# TODO: Remove project_id_value once this metric's volume get too big to avoid high cardinality cost issues
218219
metrics.distribution(
219220
"preprod.size_analysis.compare.results_e2e",
220221
e2e_size_analysis_compare_duration.total_seconds(),
221222
sample_rate=1.0,
222223
tags={
223-
"project_id": project_id,
224+
"project_id_value": project_id,
224225
"organization_id": org_id,
225226
"artifact_type": artifact_type_name,
226227
},

0 commit comments

Comments
 (0)