Unverified Commit 7587cf42 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

munin: add push sync stats

parent e1a0a6e1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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(