munin: add traewelling pull sync stats
This commit is contained in:
parent
85f4e5b763
commit
e1a0a6e132
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ sub run {
|
||||||
->hash->{count} );
|
->hash->{count} );
|
||||||
query_to_munin( 'polylines',
|
query_to_munin( 'polylines',
|
||||||
$db->select( 'polylines', 'count(*) as count' )->hash->{count} );
|
$db->select( 'polylines', 'count(*) as count' )->hash->{count} );
|
||||||
|
query_to_munin( 'traewelling_pull',
|
||||||
|
$db->select( 'traewelling', 'count(*) as count', { pull_sync => 1 })->hash->{count} );
|
||||||
query_to_munin(
|
query_to_munin(
|
||||||
'polyline_ratio',
|
'polyline_ratio',
|
||||||
$db->query(
|
$db->query(
|
||||||
|
|
Loading…
Reference in a new issue