summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/munin.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-07-09 16:04:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-07-09 16:04:29 +0200
commite1a0a6e1323a70927869607a045aabfd512b3b14 (patch)
tree14fa25d6caf6c35f1f81c56b990dd415db9fa796 /lib/Travelynx/Command/munin.pm
parent85f4e5b763607450a25c4c684da0d06fb8bc301a (diff)
munin: add traewelling pull sync stats
Diffstat (limited to 'lib/Travelynx/Command/munin.pm')
-rw-r--r--lib/Travelynx/Command/munin.pm2
1 files changed, 2 insertions, 0 deletions
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(