munin: return number of stored polylines

This commit is contained in:
Daniel Friesel 2020-01-27 20:33:35 +01:00
parent b47a29d484
commit 297718603c

View file

@ -56,6 +56,8 @@ sub run {
$checkin_window_query, $now->subtract( days => 30 )->epoch $checkin_window_query, $now->subtract( days => 30 )->epoch
)->hash->{count} )->hash->{count}
); );
query_to_munin( 'polylines',
$db->select( 'polylines', 'count(*) as count' )->hash->{count} );
} }
1; 1;