{{ define "settings" }}

Configuration

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

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

Schedule is a cron expression that defines when the monitor 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.

Status {{ if eq .Monitor.Status "ACTIVE" }} ACTIVE {{ else if eq .Monitor.Status "PAUSED" }} PAUSED {{ end }}

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

{{ if eq .Monitor.Status "ACTIVE" }} Pause {{ else if eq .Monitor.Status "PAUSED" }} Resume {{ end }}

Danger Zone

Permanently delete this monitor.

Delete
{{ range .History }} {{ end }}
History

Last 10 executions of monitor script.

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