chart-server schema
charts/server.json, written by servtuner analyze for the Server and Resources tabs: the server-side series the analysis reads, as the analysis derives them (pods selected, units normalized), and each target container’s CPU and memory on its busiest pod with the captured requests and limits as reference lines. Each series has at most 2000 points that keep each bucket’s minimum and maximum. A series that was not collected is absent: no evidence, never zero.
Schema file: schema/json/bundle/chart-server.schema.json. Generated from servtuner commit 5b46cdad0e5c.
Top level
Section titled “Top level”| Field | Type | Required | Description |
|---|---|---|---|
analyzer_version |
string |
Yes | |
start |
utcTimestamp | Yes | The first stage’s start; every offset is from here. |
bucket_seconds |
integer |
Yes | Seconds per point, chosen to keep at most 2000 points over the stages. ≥ 1 |
panels |
array of serverPanel | Yes |
Definitions
Section titled “Definitions”panelGroup
Section titled “panelGroup”server: the target application’s own series (queues, caches, router slots, GPU); resources: CPU and memory against requests and limits.
Type: "server", "resources"
panelUnit
Section titled “panelUnit”fraction is 0 to 1 (of a limit, a knob or a capacity). per_second is events per second (the panel title names the event); tokens_per_second is tokens per second; seconds is a duration; watts is power; hertz is a clock frequency.
Type: "fraction", "requests", "pods", "cores", "bytes", "seconds", "per_second", "tokens_per_second", "watts", "hertz"
serverPoint
Section titled “serverPoint”| Field | Type | Required | Description |
|---|---|---|---|
offset_seconds |
number |
Yes | ≥ 0 |
mean |
number |
Yes | |
min |
number |
Yes | |
max |
number |
Yes |
panelSeries
Section titled “panelSeries”| Field | Type | Required | Description |
|---|---|---|---|
name |
string |
Yes | |
points |
array of serverPoint | Yes |
referenceLine
Section titled “referenceLine”| Field | Type | Required | Description |
|---|---|---|---|
name |
string |
Yes | |
value |
number |
Yes | ≥ 0 |
serverPanel
Section titled “serverPanel”| Field | Type | Required | Description |
|---|---|---|---|
id |
string |
Yes | |
group |
panelGroup | Yes | |
title |
string |
Yes | |
unit |
panelUnit | Yes | |
definition |
string |
No | What the series means and where it comes from, shown beside the chart. |
series |
array of panelSeries | Yes | at least 1 item |
reference_lines |
array of referenceLine | No |