munin: add push sync stats
This commit is contained in:
parent
e1a0a6e132
commit
7587cf4277
1 changed files with 5 additions and 1 deletions
|
@ -71,7 +71,11 @@ sub run {
|
||||||
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',
|
query_to_munin( 'traewelling_pull',
|
||||||
$db->select( 'traewelling', 'count(*) as count', { pull_sync => 1 })->hash->{count} );
|
$db->select( 'traewelling', 'count(*) as count', { pull_sync => 1 } )
|
||||||
|
->hash->{count} );
|
||||||
|
query_to_munin( 'traewelling_push',
|
||||||
|
$db->select( 'traewelling', 'count(*) as count', { push_sync => 1 } )
|
||||||
|
->hash->{count} );
|
||||||
query_to_munin(
|
query_to_munin(
|
||||||
'polyline_ratio',
|
'polyline_ratio',
|
||||||
$db->query(
|
$db->query(
|
||||||
|
|
Loading…
Reference in a new issue