beat.web.statistics.views module¶
-
beat.web.statistics.views.calculate_totals()[source]¶ Caculates all totals required by the statistics display
-
beat.web.statistics.views.convert_values(stats)[source]¶ Converts values so they are suitable for plotting
-
beat.web.statistics.views.grouper(n, iterable, fillvalue=None)[source]¶ grouper(3, ‘ABCDEFG’, ‘x’) –> ABC DEF Gxx
-
beat.web.statistics.views.get_statistics(hours_to_go_back, cluster_by)[source]¶ Returns the data for hourly charts on various axes
-
beat.web.statistics.views.hourly_charts()[source]¶ Returns the data for hourly charts on various axes
-
beat.web.statistics.views.weekly_charts()[source]¶ Returns the data for weekly charts on various axes
-
beat.web.statistics.views.statistics(request)[source]¶ Displays a summary of statistics as charts
A couple of information blocks will be displayed at the top of the page, summarizing processing information and the total number of available objects, for informational purposes.
Furthermore, we will have a tabbed view following the summary block, containing the following charts (one for cpu-time, one for real/wall-clock processing time, maximum virtual memory, data in/output with number of bytes read/written and bandwidth):
The hourly display will show the last 24 hours of activity
The daily display will show the last 7 days of activity
The weekly display will show the last 6 months (24 weeks) of activity