diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-07-09 16:16:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-07-09 16:16:08 +0200 |
commit | 7587cf42776bf9712f989b83ec7eff42c3d03901 (patch) | |
tree | 1b1e060f91a8ee9d21947fabcd4f0f191f2e38d2 /lib/Travelynx/Command/munin.pm | |
parent | e1a0a6e1323a70927869607a045aabfd512b3b14 (diff) |
munin: add push sync stats
Diffstat (limited to 'lib/Travelynx/Command/munin.pm')
-rw-r--r-- | lib/Travelynx/Command/munin.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/munin.pm b/lib/Travelynx/Command/munin.pm index a2191f8..a285782 100644 --- a/lib/Travelynx/Command/munin.pm +++ b/lib/Travelynx/Command/munin.pm @@ -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( |