From 297718603cd1be97b80d0699c08b48fb5c5230a0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 27 Jan 2020 20:33:35 +0100 Subject: [PATCH] munin: return number of stored polylines --- lib/Travelynx/Command/munin.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Travelynx/Command/munin.pm b/lib/Travelynx/Command/munin.pm index ee509d3..aeb7bff 100644 --- a/lib/Travelynx/Command/munin.pm +++ b/lib/Travelynx/Command/munin.pm @@ -56,6 +56,8 @@ sub run { $checkin_window_query, $now->subtract( days => 30 )->epoch )->hash->{count} ); + query_to_munin( 'polylines', + $db->select( 'polylines', 'count(*) as count' )->hash->{count} ); } 1;