Skip to content

Commit

Permalink
feat: Add platform to event.size.data metric
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Sep 12, 2018
1 parent fc6b057 commit a3694e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/tasks/post_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _capture_stats(event, is_new):

metrics.incr('events.processed')
metrics.incr(u'events.processed.{platform}'.format(platform=platform))
metrics.timing('events.size.data', event.size)
metrics.timing('events.size.data', event.size, tags={'platform': platform})


@instrumented_task(name='sentry.tasks.post_process.post_process_group')
Expand Down

0 comments on commit a3694e2

Please sign in to comment.