Skip to content

Commit 197583f

Browse files
authored
chore(profiling): Track accepted profile outcomes (#56575)
We're tracking less accepted outcomes than we're inserting to vroom. This validates that we're losing profiles when sending to vroom and it's not an issue with the accepted outcome count.
1 parent fca0f96 commit 197583f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sentry/profiles/task.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def process_profile_task(
117117
if not _push_profile_to_vroom(profile, project):
118118
return
119119

120-
_track_outcome(profile=profile, project=project, outcome=Outcome.ACCEPTED)
120+
with metrics.timer("process_profile.track_outcome.accepted"):
121+
_track_outcome(profile=profile, project=project, outcome=Outcome.ACCEPTED)
121122

122123

123124
JS_PLATFORMS = ["javascript", "node"]

0 commit comments

Comments
 (0)