[IMP] maintenance_service_http_monitoring : modify logic to avoid false-positive http alerts #9

Open
mondot wants to merge 1 commits from update-service-http-monitoring-to-avoid-false-positive into 18.0
Owner

Instead of sleeping 2 seconds between 2 http calls, we wait for the next cron to turn to confirm that's the service is really down.

Increased timeout for the GET request to 20 seconds.
Store the time when the 1st error occured (in the field http_first_ko_at).
Create a maintenance request if we encounter 2 KOs delayed by 10 minutes minimum.

Instead of sleeping 2 seconds between 2 http calls, we wait for the next cron to turn to confirm that's the service is really down. Increased timeout for the GET request to 20 seconds. Store the time when the 1st error occured (in the field `http_first_ko_at`). Create a maintenance request if we encounter 2 KOs delayed by 10 minutes minimum.
mondot added 1 commit 2026-08-18 14:13:02 +00:00
[IMP] maintenance_service_http_monitoring : modify logic to avoid false-positive http alerts
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
6461c3b6c7
mondot added 2 commits 2026-08-18 16:00:43 +00:00
[IMP] maintenance_service_http_monitoring : modify logic to avoid false-positive http alerts
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
6461c3b6c7
[IMP] maintenance_service_http_monitoring : modify logic to avoid false-positive http alerts
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
6f8e1b2a13
mondot added 2 commits 2026-08-18 16:07:34 +00:00
[IMP] maintenance_service_http_monitoring : modify logic to avoid false-positive http alerts
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
6f8e1b2a13
[IMP] maintenance_service_http_monitoring : modify logic to avoid false-positive http alerts
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
e48a3443f1
Some checks failed
pre-commit / pre-commit (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin update-service-http-monitoring-to-avoid-false-positive:update-service-http-monitoring-to-avoid-false-positive
git checkout update-service-http-monitoring-to-avoid-false-positive
Sign in to join this conversation.
No description provided.