speed up vm trace pages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-09 14:19:24 +11:00
parent c4097ca608
commit 59b16db04f
12 changed files with 702 additions and 208 deletions

View File

@@ -865,7 +865,7 @@
},
"/vcenters": {
"get": {
"description": "Lists all vCenters with recorded snapshot totals.",
"description": "Lists all vCenters with recorded snapshot totals, linking to the fast daily aggregated totals page.",
"produces": [
"text/html"
],
@@ -932,7 +932,7 @@
},
"/vcenters/totals/daily": {
"get": {
"description": "Shows daily aggregated VM count/vCPU/RAM totals for a vCenter.",
"description": "Shows daily aggregated VM count/vCPU/RAM totals for a vCenter (cache-backed for fast loading).",
"produces": [
"text/html"
],
@@ -1008,7 +1008,7 @@
},
"/vm/trace": {
"get": {
"description": "Shows VM resource history across snapshots, with chart and table.",
"description": "Shows VM resource history with an hourly detail view and a daily aggregated view, with chart and table output.",
"produces": [
"text/html"
],
@@ -1034,6 +1034,12 @@
"description": "VM name",
"name": "name",
"in": "query"
},
{
"type": "string",
"description": "hourly|daily (default: hourly)",
"name": "view",
"in": "query"
}
],
"responses": {