aboutsummaryrefslogtreecommitdiff
path: root/scripts/probes.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/probes.py')
-rw-r--r--scripts/probes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/probes.py b/scripts/probes.py
index bfad4e6e..4c632184 100644
--- a/scripts/probes.py
+++ b/scripts/probes.py
@@ -45,8 +45,10 @@ class FeedProbe(AbstractMuninPlugin):
def execute(self):
delta = datetime.now() - timedelta(minutes=LATE_AFTER + FETCH_RATE + 1)
+ total = FeedController().read().count()
- print("feeds.value %d" % len(FeedController().list_late(delta)))
+ print("feeds.value %d"
+ % len(FeedController().list_late(delta, limit=total)))
print("feeds_total.value %d" % FeedController().read().count())
bgstack15