[IMP] maintenance_service_http_monitoring : speed up KO confirmation #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "18.0-improve-http-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The previous design required two passes of the 10-minute sweep before a
maintenance request was created, so an outage took at least ~10 extra
minutes (up to 20) to be reported.
Split the monitoring into two crons with distinct responsibilities:
http_first_ko_atand auto-resolves recovered services;and creates a request once the service has been continuously KO for
HTTP_KO_CONFIRMATION_DELAY(lowered from 5 to 2 minutes).This keeps the transient-outage filter while removing the extra sweep
latency. Services already under an open request are skipped by the
confirmation cron and remain handled by the sweep.