{{define "daily"}}
{{ .HistoryDaily.Uptime }}% uptime
{{ range .HistoryDaily.History }} {{ if eq . "SUCCESS" }}
{{ else if eq . "FAILURE" }}
{{ else }}
{{ end }} {{ end }}
90 days ago
Today
{{end}} {{define "hourly"}}
{{ .HistoryHourly.Uptime }}% uptime
{{ range .HistoryHourly.History }} {{ if eq . "SUCCESS" }}
{{ else if eq . "FAILURE" }}
{{ else }}
{{ end }} {{ end }}
48 hours ago
Now
{{end}} {{define "main"}} {{ if eq .HealthchecksLength 0 }}

There are no healthchecks yet.

Create a healthcheck to monitor your services and get notified when they are down.

{{ else }} {{ if eq .Status "SUCCESS" }}

All services are online

Last updated on Feb 10 at 10:55am UTC

{{ else }}

Degraded performance

Last updated on Feb 10 at 10:55am UTC

{{ end }}

Healthchecks

{{ range .HealthChecks }}
{{ if eq .Status "SUCCESS" }} {{ else if eq .Status "FAILURE" }} {{ else }} {{ end }}

{{ .Name }}

{{ if eq $.TimeRange "90days" }} {{ template "daily" . }} {{ else }} {{ template "hourly" . }} {{ end }}
{{ end }}
{{ end }} {{end}}