:trkpts => "GPX trackpoints calls",
:web => "Web site traffic",
:other => "Other API calls"
-}
+}.freeze
if ARGV[0] == "config"
puts "graph_title Requests processed"
CALL_TYPES.each do |type, label|
puts "#{type}.label #{label}"
puts "#{type}.type DERIVE"
+ puts "#{type}.min 0"
end
else
statistics = JSON.parse(File.read("/srv/www.openstreetmap.org/rails/tmp/statistics.json"))