From e1a0a6e1323a70927869607a045aabfd512b3b14 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 9 Jul 2022 16:04:29 +0200 Subject: munin: add traewelling pull sync stats --- lib/Travelynx/Command/munin.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Travelynx/Command/munin.pm b/lib/Travelynx/Command/munin.pm index 9c53ece..a2191f8 100644 --- a/lib/Travelynx/Command/munin.pm +++ b/lib/Travelynx/Command/munin.pm @@ -70,6 +70,8 @@ sub run { ->hash->{count} ); 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} ); query_to_munin( 'polyline_ratio', $db->query( -- cgit v1.2.3