{{ define "settings" }}

Configuration

Visibility determines who can see the check. If set to public, it will be visible to everyone on the homepage. Otherwise it will be only visible to signed in users.

Group checks together. This affects how they are presented on the homepage.

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.

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 }} {{ end }}
History

Last 10 executions of check script.

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