Adding 5min loadtime to prometheus graphs.

This commit is contained in:
Samuel Clay 2021-12-17 11:41:42 -05:00
parent 7ebce0bcdd
commit dd5d43f744

View file

@ -7,6 +7,7 @@ class LoadTimes(View):
from apps.statistics.models import MStatistics
data = {
'feed_loadtimes_5min': MStatistics.get('last_5_min_time_taken'),
'feed_loadtimes_avg_hour': MStatistics.get('latest_avg_time_taken'),
'feeds_loaded_hour': MStatistics.get('latest_sites_loaded'),
}