zulip/analytics
Rishi Gupta 29799d93c6 analytics/views.py: Always return time series data for stats.
Makes a number of simplications to the analytics views code. The main one is
that we now return the entire data series, even if the data is eventually
going to go into a pie chart. This was prompted by us wanting several
different pie charts for each stat (one for last 30 days, one for all time,
etc), but I think it is also a more natural API. The total amount of data
being sent for the pie charts now is maybe half of what is being sent for
our single 'hourly' stat, or maybe up to 10,000 ints per year the
organization has been around.

The other big change is that the data being sent back is now always explicit
about whether it is data about the realm (stored in data['realm'], or data
about the user (stored in data['user']).
2017-01-19 17:44:17 -08:00
..
lib analytics: Add random_seed argument to generate_time_series_data. 2017-01-17 15:54:57 -08:00
management analytics: Add random_seed argument to generate_time_series_data. 2017-01-17 15:54:57 -08:00
migrations analytics: Remove interval field from *Count tables. 2017-01-17 15:54:57 -08:00
tests analytics: Remove COUNT_STATS['messages_sent:hour']. 2017-01-17 15:54:57 -08:00
__init__.py Create "analytics" app with activity reports. 2013-11-06 12:07:32 -05:00
models.py analytics: Remove interval field from *Count tables. 2017-01-17 15:54:57 -08:00
urls.py /activity: Fix URL route for analytics.views.get_realm_activity. 2017-01-12 15:21:06 -08:00
views.py analytics/views.py: Always return time series data for stats. 2017-01-19 17:44:17 -08:00