{{ define "settings" }}

Configuration

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

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

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

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

Danger Zone

Permanently delete this trigger.

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

Last 10 executions of trigger script.

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