{{ define "settings" }}

Configuration

Worker groups are used to distribute the check to specific workers.

Schedule is a cron expression that defines when the check should be executed.
You can also use @every [interval] where interval is a duration like 5m, 1h, 60s. Or use @hourly, @daily, @weekly, @monthly, @yearly.

With filter we specify what targets the check will run on. For whole grammar on what the filter query can look like, please read the MQL Grammar documentation.

Script is what determines the status of a service. You can read more about it on k6 documentation.

State {{ if eq .Check.State "ACTIVE" }} ACTIVE {{ else if eq .Check.State "PAUSED" }} PAUSED {{ end }}

Pausing the check will stop it from executing. This can be useful in cases of expected downtime. Or when the check is not needed anymore.

{{ if eq .Check.State "ACTIVE" }} Pause {{ else if eq .Check.State "PAUSED" }} Resume {{ end }}

Danger Zone

Permanently delete this check.

Delete
{{ range .History }} {{ if eq .Status "Running" }} {{ else }} {{ end }} {{ end }}
History

Last 10 executions of check script.

Check ID Status Worker Group Created At Duration Note
{{ .CheckId }} {{ .Status }} { .WorkerGroupName } { .CreatedAt.Time.Format "2006-01-02 15:04:05" } / /
{{ .CheckId }} {{ .Status }} { .WorkerGroupName } { .CreatedAt.Time.Format "2006-01-02 15:04:05" } {{ .Duration }} { .Note }
{{ end }}