Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 92079a8

Browse files
authored
Added network retries feature reference to CLI docs (#1331)
* Added network retries feature reference to CLI docs * Update network error retries docs
1 parent d710d45 commit 92079a8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ There are some tradeoffs to consider:
6969

7070
### Network retries
7171

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.
72+
For API checks & URL monitors, 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.
7373

7474
When network retries are enabled:
7575
* The check will retry on: ECONNRESET, ENOTFOUND, ETIMEDOUT, EAI_AGAIN, ECONNREFUSED, and similar network errors.

site/content/docs/cli/constructs-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,7 @@ For all of the methods above, the `options` argument can be used to customize th
10411041
- `maxRetries`: The maximum number of times to retry the check. This value should be between 1 and 10. Defaults to 2.
10421042
- `maxDurationSeconds`: The maximum amount of time to continue retrying the check. Maximum 600 seconds. Defaults to 600 seconds.
10431043
- `sameRegion`: Whether retries should be run in the same region as the initial failed check run. Defaults to `true`.
1044+
- `onlyOn`: Limits retries to specific failure types. Currently supports 'NETWORK_ERROR' only, and is only applicable to API checks and URL monitors. See [Network retries](/docs/alerting-and-retries/retries/#network-retries) for more information.
10441045

10451046
## `AlertEscalationPolicy`
10461047

0 commit comments

Comments
 (0)