Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions kuma-config/apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ function requireEnv(name) {
}

// Fields the `add` handler JSON-stringifies or requires, plus sensible defaults.
// Per-monitor YAML overrides are merged on top of these.
// Per-monitor YAML overrides are merged on top of these. retries=3 + 20s timeout
// require a sustained failure (~60s) before Down, filtering transient blips.
Comment thread
andres-pcg marked this conversation as resolved.
Outdated
const MONITOR_DEFAULTS = {
interval: 60,
retryInterval: 60,
retryInterval: 20,
resendInterval: 0,
maxretries: 0,
timeout: 48,
maxretries: 3,
timeout: 20,
method: "GET",
accepted_statuscodes: ["200-299"],
conditions: [],
Expand Down
24 changes: 0 additions & 24 deletions kuma-config/kuma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ monitors:
port: 53
dns_resolve_type: A
dns_resolve_server: 1.1.1.1
interval: 60
retryInterval: 60
maxretries: 0
notifications: [Slack]
tags:
- { name: DNS, value: Seeder }
Expand All @@ -57,9 +54,6 @@ monitors:
port: 53
dns_resolve_type: A
dns_resolve_server: 1.1.1.1
interval: 60
retryInterval: 60
maxretries: 0
notifications: [Slack]
tags:
- { name: DNS, value: Seeder }
Expand All @@ -73,9 +67,6 @@ monitors:
port: 53
dns_resolve_type: A
dns_resolve_server: 1.1.1.1
interval: 60
retryInterval: 30
maxretries: 3
notifications: [Slack]
tags:
- { name: DNS, value: Seeder }
Expand All @@ -89,9 +80,6 @@ monitors:
port: 53
dns_resolve_type: A
dns_resolve_server: 1.1.1.1
interval: 60
retryInterval: 30
maxretries: 3
notifications: [Slack]
tags:
- { name: DNS, value: Seeder }
Expand All @@ -105,9 +93,6 @@ monitors:
port: 53
dns_resolve_type: A
dns_resolve_server: 1.1.1.1
interval: 60
retryInterval: 60
maxretries: 0
notifications: [Slack]
tags:
- { name: DNS, value: Seeder }
Expand All @@ -124,9 +109,6 @@ monitors:
type: http
url: ${PROBER_BASE_URL}/status
method: GET
interval: 60
retryInterval: 60
maxretries: 1
notifications: [Slack]
tags:
- { name: DNS, value: Seeder }
Expand All @@ -136,9 +118,6 @@ monitors:
type: http
url: https://zfnd.org/
method: GET
interval: 60
retryInterval: 60
maxretries: 0
expiryNotification: true
notifications: [Slack]
tags:
Expand All @@ -149,9 +128,6 @@ monitors:
type: http
url: https://z.cash/
method: GET
interval: 60
retryInterval: 60
maxretries: 0
expiryNotification: true
notifications: [Slack]
tags:
Expand Down