Skip to content

Commit 8c356bf

Browse files
authored
First draft for network retries (#1287)
* First draft for network retries * Update copy & formatting * update formatting bulletpoints * Fixed typo * Refined explanation
1 parent 4821c09 commit 8c356bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

site/content/docs/alerting-and-retries/retries.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ There are some tradeoffs to consider:
6767
- Retrying from the same location makes sense if you care strongly about the uptime of your app in one specific location, compared to other locations.
6868
- Retrying from a different location makes sense, if you want to make sure your app is up in at least one location.
6969

70+
### Network retries
71+
72+
For API checks, you can enable network retries to automatically retry a check run only if it fails due to a network error—such as a timeout, DNS resolution issue, or connection reset.
73+
74+
When network retries are enabled:
75+
* The check will retry on: ECONNRESET, ENOTFOUND, ETIMEDOUT, EAI_AGAIN, ECONNREFUSED, and similar network errors.
76+
* The check will not retry on: Any HTTP response that includes a status code (4xx or 5xx), failed assertions, or any other type of check failure.
7077

7178
## Test sessions retries
7279

0 commit comments

Comments
 (0)