pelias / placeholder

stand-alone coarse geocoder
https://placeholder.demo.geocode.earth
MIT License
314 stars 35 forks source link

Add health check endpoint #164

Open orangejulius opened 4 years ago

orangejulius commented 4 years ago

It would be great if all the Pelias services had a health check endpoint. Currently Placeholder does not.

The API uses /status, so it would be great if Placeholder did as well for consistency.

missinglink commented 4 years ago

The /parser/search & /parser/findbyid endpoints would be good candidates for this.

What is the intent of the /status endpoint, should it be a 'dumb' endpoint which doesn't hit the database or a 'smart' one which does?