environment schema
environment.json: what ran the benchmark and how each hop was secured.
Schema file: schema/json/bundle/environment.schema.json. Generated from servtuner commit 5b46cdad0e5c.
Top level
Section titled “Top level”| Field | Type | Required | Description |
|---|---|---|---|
bench_version |
string |
Yes | |
go_version |
string |
Yes | |
image_digest |
string |
No | |
node |
string |
No | |
pod |
string |
No | Name of the bench pod; analysis uses it to select the bench container’s series. |
shard_pods |
array of string |
No | The follower shards’ bench pods of a sharded run (engine.shards), in shard order from 1; analysis treats them as bench pods too, so client_bound sees every shard’s CPU. |
namespace |
string |
No | Namespace of the bench pod. |
engine |
engineInfo | Yes | |
clock_source |
string |
Yes | Where timestamps came from, for example ntp or host. |
transport |
hopTransports | Yes | |
tls_relay_used |
boolean |
Yes | |
offline |
boolean |
No | servtuner run –offline: no public datasheet fallback and no AWS Price List. Absent means false. |
workload |
workloadInfo | No | |
knobs |
map of knobValue | No | The knob values the target adapter captured, by knob name (for example vllm.max_num_seqs). A knob two workloads disagreed on, or that could not be read, is absent. servtuner analyze reproduces its knob checks from this alone. Default: {}. |
http_version |
httpVersion | No | HTTP version of the connection to the target; when the TLS relay is used, the connection the relay makes. A client certificate makes Go’s HTTP client use HTTP/1.1, so it is recorded, not assumed. |
Definitions
Section titled “Definitions”workloadInfo
Section titled “workloadInfo”The generated workload, so RPS is only compared between runs with the same hash.
| Field | Type | Required | Description |
|---|---|---|---|
hash |
string |
Yes | |
generator |
string |
Yes | Name and version of the workload generator. |
chars_per_token |
number |
No | Calibrated from usage during warmup. > 0 |
httpVersion
Section titled “httpVersion”Type: "1.1", "2"
engineInfo
Section titled “engineInfo”| Field | Type | Required | Description |
|---|---|---|---|
name |
string |
Yes | |
version |
string |
Yes | |
max_in_flight |
integer |
No | The engine’s cap on requests in flight at once (loadgen). When a target falls behind, in-flight requests pile up to this cap and sends wait for a slot; the analysis tells that apart from a slow client (target_saturated). ≥ 1 |
hopTransports
Section titled “hopTransports”Transport mode of every hop used by this run. A hop that was not used is omitted.
| Field | Type | Required | Description |
|---|---|---|---|
target |
transportMode | Yes | |
prometheus |
transportMode | No | |
api |
transportMode | No | |
object_store |
transportMode | No |