6 Commits
Author SHA1 Message Date
Guewen BaconnierandGitHub e1a516615c Revert "[9.0] [IMP] monitoring_status: check the db is reachable" 2019-10-29 17:31:01 +01:00
Alexandre Fayolle 1a56848a46 [IMP] monitoring_status: check the db is reachable
make a real SQL query on GET /monitoring/status and return a 503
if the query failed.
2019-10-25 14:52:58 +02:00
Simone OrsiandGuewen Baconnier 1b10458d98 Ignore HTTP version in monitoring_status filter 2019-08-09 11:44:24 +02:00
Guewen BaconnierandSimone Orsi cca0ba6bd8 [9.0] Filter /monitoring/status werkzeug logs (#68)
* Filter /monitoring/status werkzeug logs

With healtchecks, they constitute 95% of our logs. Let's stop wasting
resources and shut them up.
2019-07-19 15:34:23 +02:00
Guewen Baconnier a0c926a478 Expire sessions generated by health checks quickly
The default expiration of sessions is 7 days. With healthchecks run
every few seconds, we quickly have millions of anonymous sessions in
Redis. Allow to define a custom expiration for some sessions and set a
very short one for the monitoring requests.
2018-01-04 09:27:50 +01:00
Guewen Baconnier 952a35854e Add monitoring_status, new route for health checks 2016-10-25 09:39:03 +02:00