diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-27 20:33:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-27 20:33:35 +0100 |
commit | 297718603cd1be97b80d0699c08b48fb5c5230a0 (patch) | |
tree | cba5fb60b6c92b244848944d364ad23a3e957cdd /lib/Travelynx/Command/munin.pm | |
parent | b47a29d4843212d35e167af4c7259678c2f1bbff (diff) |
munin: return number of stored polylines
Diffstat (limited to 'lib/Travelynx/Command/munin.pm')
-rw-r--r-- | lib/Travelynx/Command/munin.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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; |