tyrasd / overpass-turbo

A web based data mining tool for OpenStreetMap using the Overpass API.
https://overpass-turbo.eu
Other
891 stars 128 forks source link

Overpass API health indication #88

Open tyrasd opened 10 years ago

tyrasd commented 10 years ago

It would be nice to display a general API server health indicator somewhere. For example an icon:

But this would require the Overpass API lag information to be actually available as an API call. Maybe https://github.com/drolbr/Overpass-API/issues/87 does make this available at some point.

mmd-osm commented 8 years ago

As rambler instance is lagging behind more than 6 days and api.openstreetmap.fr even 10 days (!), this issue pops up again... A prominent yellow background for _datastats may be an option to alert users. It's deliberately annoying, but working with old data without noticing is even more annoying :)

warn

In general this should probably be reserved to significant lags, e.g. more than 12 or even 24 hours for osm_base. For areas, I would assume at least a lag of 3-4 days before warning, as the main instance has a lag of up to 48 hours even during normal operation.