]> git.openstreetmap.org Git - chef.git/blobdiff - roles/overpass-query.rb
Add logrotate where required
[chef.git] / roles / overpass-query.rb
index cb0dfb4a209d719c6e461584080bc110bcd212d6..819bad11779c2e0e831b51c45c3ced38a6742d00 100644 (file)
@@ -14,8 +14,13 @@ default_attributes(
   :overpass => {
     :fqdn => "query.openstreetmap.org",
     :meta_mode => "no",
-    :compression_mode => "no",
+    :compression_mode => "lz4",
     :restricted_api => true
+  },
+  :prometheus => {
+    :files => %w[
+      /srv/query.openstreetmap.org/diffs/latest.osc
+    ]
   }
 )