From 26fb67a986550cb2c88da938d98d7e8bcbc0822c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 17 Nov 2021 08:42:09 +0000 Subject: [PATCH] Monitor planet files --- roles/planet.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/roles/planet.rb b/roles/planet.rb index de8865e47..50ebd4064 100644 --- a/roles/planet.rb +++ b/roles/planet.rb @@ -19,6 +19,19 @@ default_attributes( :http_connection_limit => 10 } }, + :prometheus => { + :files => %w[ + /store/planet/notes/planet-notes-latest.osn.bz2 + /store/planet/pbf/planet-latest.osm.pbf + /store/planet/planet/changesets-latest.osm.bz2 + /store/planet/planet/discussions-latest.osm.bz2 + /store/planet/planet/planet-latest.osm.bz2 + /store/planet/replication/changesets/state.yaml + /store/planet/replication/day/state.txt + /store/planet/replication/hour/state.txt + /store/planet/replication/minute/state.txt + ] + }, :rsyncd => { :modules => { :planet => { -- 2.39.5