Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Remove the latest interval from reporting until we can normalize it

  • Loading branch information...
commit 92bc3c0ad8ce25c1611aa2983f3d02a98be40479 1 parent 542003a
@dcramer dcramer authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/sentry/
5 src/sentry/
@@ -342,6 +342,11 @@ def _get_chart_data(self, queryset, max_days=90, db='default', key=None):
today =, second=0)
+ # the last interval is not accurate, so we exclude it
+ # TODO: it'd be ideal to normalize the last datapoint so that we can include it
+ # and not have ~inaccurate data for up to MINUTE_NORMALIZATION
+ today -= datetime.timedelta(minutes=settings.MINUTE_NORMALIZATION)
if max_days >= 30:
g_type = 'date'
d_type = 'days'
Please sign in to comment.
Something went wrong with that request. Please try again.