mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Adding 5min loadtime to prometheus graphs.
This commit is contained in:
parent
7ebce0bcdd
commit
dd5d43f744
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ class LoadTimes(View):
|
||||||
from apps.statistics.models import MStatistics
|
from apps.statistics.models import MStatistics
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
|
'feed_loadtimes_5min': MStatistics.get('last_5_min_time_taken'),
|
||||||
'feed_loadtimes_avg_hour': MStatistics.get('latest_avg_time_taken'),
|
'feed_loadtimes_avg_hour': MStatistics.get('latest_avg_time_taken'),
|
||||||
'feeds_loaded_hour': MStatistics.get('latest_sites_loaded'),
|
'feeds_loaded_hour': MStatistics.get('latest_sites_loaded'),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue