{{define "content"}}

System

Runtime, database and migration state.

{{$s := .Data}}
Version
{{$s.Version}}
{{$s.GoVersion}}
Uptime
{{duration $s.UptimeSeconds}}
Goroutines
{{$s.Goroutines}}
{{$s.NumCPU}} CPUs
Memory
{{bytes $s.HeapBytes}}
heap · {{bytes $s.SysBytes}} from OS

Database

Status
{{if $s.Database.OK}}connected{{else}}error {{$s.Database.Error}}{{end}}
Server
{{$s.Database.Version}}
pgvector
{{if $s.Database.PGVector}}available{{else}}not installed semantic retrieval falls back to text and graph{{end}}
Pool
{{$s.Database.PoolTotal}} open · {{$s.Database.PoolIdle}} idle · {{$s.Database.PoolMax}} max

Migrations

{{range $s.Migrations}}{{end}}
#NameStateApplied
{{printf "%04d" .Version}}{{.Name}}{{if .Drift}}drift{{else if .Applied}}applied{{else}}pending{{end}}{{.AppliedAt}}
{{end}}