{{/* The usage tab of the people page. */}} {{define "usage_body"}} {{if .Error}}
{{.Error}}
{{end}} {{/* One row of controls above the charts, which is where a reader looks for them. Links rather than a script: the choice is in the URL, so a view worth coming back to can be bookmarked or pasted to somebody else. */}}No model has a price, so every request costs zero and this
chart would be a flat line however busy the cluster is. Set prices in the
pricing block of the server configuration.
| Group | Requests | Tokens | Spend | Errors |
|---|---|---|---|---|
| {{.Name}} | {{compact .Requests}} | {{compact .Tokens}} | {{.Spend}} | {{if .Errors}}{{.Errors}}{{else}}—{{end}} |
Nothing recorded in this window.
{{end}} {{with .GPUHours}}| Owner | GPU-hours | Held now |
|---|---|---|
| {{.Owner}} | {{printf "%.1f" .Hours}} | {{printf "%.0f" .Now}} |
From the metrics store, which keeps its history for as long as it is set to (fifteen days by default); a model with no owner is counted under “no owner”.
{{end}} {{/* The charts fold their tail; the table does not. Both are here because they answer different questions, and the one that is easy to get wrong is thinking the four coloured lines are all of it. */}}The charts draw the four busiest groups by total and sum the rest into “other”, so they always add up to the whole cluster. The table below is every group, in the same order.
A person is not a level of the quota tree — one person holds keys in several projects — so grouping by person crosses the tree rather than naming a level of it. Quotas are written on the other three, on the Limits tab.
{{end}}