munin: add push sync stats

This commit is contained in:
Daniel Friesel 2022-07-09 16:16:08 +02:00
parent e1a0a6e132
commit 7587cf4277
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005

View file

@ -71,7 +71,11 @@ sub run {
query_to_munin( 'polylines',
$db->select( 'polylines', 'count(*) as count' )->hash->{count} );
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(
'polyline_ratio',
$db->query(