From 74f56a5501bad0951b9f577da68af75724e475b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C4=93teris=20Caune?=
Signaling a start kicks off a separate timer: the job now must signal a -success within its configured "Grace Time," or it will get marked as "down."
+SITE_NAME applies an additional alerting rule for jobs that use the /start
signal.
If a job sends a "start" signal, but then does not send a "complete" +signal within its configured grace time, SITE_NAME will assume the job +has failed. It will mark the job as "down" and send out alerts.
+Below is a code example in Python:
import requests
URL = "PING_URL"
diff --git a/templates/docs/measuring_script_run_time.md b/templates/docs/measuring_script_run_time.md
index 8e446ff9..82544bbf 100644
--- a/templates/docs/measuring_script_run_time.md
+++ b/templates/docs/measuring_script_run_time.md
@@ -6,8 +6,15 @@
calculates the job execution times as the time gaps between adjacent "start" and
"complete" events.
-Signaling a start kicks off a separate timer: the job now **must** signal a
-success within its configured "Grace Time," or it will get marked as "down."
+## Alerting Logic
+
+SITE_NAME applies an additional alerting rule for jobs that use the `/start` signal.
+
+If a job sends a "start" signal, but then does not send a "complete"
+signal within its configured grace time, SITE_NAME will assume the job
+has failed. It will mark the job as "down" and send out alerts.
+
+## Usage Example
Below is a code example in Python: