mirror of
https://github.com/derf/travelynx
synced 2024-12-13 22:42:37 +00:00
munin: return number of stored polylines
This commit is contained in:
parent
b47a29d484
commit
297718603c
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue