Alexandre Fayolle
d17cf7deb9
[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:21:10 +02:00
Simone Orsi and Guewen Baconnier
3a2d524cd9
Ignore HTTP version in monitoring_status filter
2019-08-09 10:02:34 +02:00
Guewen Baconnier and Simone Orsi
9d25b72f74
[10.0] Filter /monitoring/status werkzeug logs ( #67 )
...
* 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:02 +02:00
Guewen Baconnier and jcoux
d0afebfa4b
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-11 08:24:45 +01:00
Guewen Baconnier
8e4b461c75
Migrate addons to 10.0
2016-12-21 21:29:09 +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