issues
search
openfoodfacts
/
search-a-licious
🍊🔎 A pluggable search service for large collections of objects (like Open Food Facts)
https://search.openfoodfacts.org
GNU Affero General Public License v3.0
6
stars
4
forks
source link
Add a health endpoint
#67
Closed
alexgarel
closed
1 month ago
alexgarel
commented
7 months ago
What
It's useful to probe the service and generate alerts.
Code pointers
https://robotoff.openfoodfacts.org/api/v1/health
Part of
62
Marc-AntoineA
commented
1 month ago
Some notes before starting dev:
robotoff/health.py
code :
https://github.com/openfoodfacts/robotoff/blob/main/robotoff/health.py
Dependency :
https://pypi.org/project/py-healthcheck/
How to use Health in api.py :
https://github.com/openfoodfacts/robotoff/blob/ef962195e66236a401356573595b0861186394e0/robotoff/app/api.py#L1549
What
Code pointers
Part of
62