]> git.openstreetmap.org Git - chef.git/commitdiff
Monitor planet files
authorTom Hughes <tom@compton.nu>
Wed, 17 Nov 2021 08:42:09 +0000 (08:42 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 17 Nov 2021 08:46:39 +0000 (08:46 +0000)
roles/planet.rb

index de8865e47ae0b19929fbd5eaa1c14c6bef28e1d2..50ebd4064a5e5375293f5a9ffef80fd286e80558 100644 (file)
@@ -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 => {