Alexandre Fayolle
057eb94c36
[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 16:03:00 +02:00
Simone Orsi and Guewen Baconnier
1b10458d98
Ignore HTTP version in monitoring_status filter
2019-08-09 11:44:24 +02:00
Guewen Baconnier and Simone 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
3c8b74369b
Make pylint happy
2016-11-03 16:58:36 +01:00
Guewen Baconnier
952a35854e
Add monitoring_status, new route for health checks
2016-10-25 09:39:03 +02:00