LedgerMath

View as Markdown

A month file

v1/series/<id>/<yyyy-mm>.json holds every point of the Runs of one Series that started in one month (UTC), each with its Run file's sha256 and address, and its boot summary's address when there is one the API can link; and Method series v1's entries of what differed between consecutive Runs.

Where it is

  • Address: https://api.ledgermath.com/v1/series/<id>/<yyyy-mm>.json, with the Series' id and the month.
  • Reached from: its Series' file (months[].url), which also gives the month file's sha256 and size in bytes: a reader checks the file it fetched against them (what to do when they differ).
  • Links to: its Series' file (series_url); the table of contents (index); its schema (schema_url); each point's Run file (evidence) and its boot's summary (boot_summary, null when there is no boot summary the API can link).
  • Schema: LedgerMath data API, version 1: one month of a Series, served by the API.

What its schema says

v1/series/<id>/<yyyy-mm>.json: one month of one Series: every point of the Series' Runs that started that month (UTC, by the Run's start), under derivations, keyed <method name>_v<version> as in the Series' file, at the same paths and in the same words as LedgerMath's Method writes its Derivations; and series v1's entries of what differed between consecutive Runs, each filed under the month of the later Run.

The Series' file (series_url) lists every month and holds each Method's summary, its definitions and the figures the points are read by. Each point also gives the sha256 of its Run file and the addresses of its evidence: the Run file (evidence) and its boot's summary (boot_summary). Numbers are exactly as the Derivation holds them; a duration is in nanoseconds of the Run's clock unless its field's name says otherwise. For a given layout (the layout of v1/index.json), a month file's bytes change only when (a) a Run that started in that month is added, (b) a boot summary that was missing arrives, (c) a Run arrives late, having started before a Run of the Series already in the files, in that month or an earlier one, or (d) a Method first applies to the Series; otherwise they do not change. These four are the only causes for a given layout: layout increases when LedgerMath changes how the files are written, and only then may a file's bytes change without one of them. A past month is therefore not immutable: each entry of the Series file's months gives its month file's sha256 and size in bytes, so a reader holding a copy can tell whether it is current, and fetches the file again only when the sha256 differs. A Series file and a month file fetched together can still be from different updates of the files: a cache may hold one of them from before the other changed, and an update that stopped halfway leaves them so until the next one. So a reader checks the sha256 of every month file it fetches against the one its Series file lists; on a mismatch, it fetches the Series file again, then the month file, and compares again; while they still differ, it uses neither, and tries again later. What each cause changes: (a) the month gains the Run's point, its pair entry and its count and span; (b) the point's boot_summary turns from null into the summary's address, and nothing else; (c) as (a), and in that month and every later one the points after the late Run may change only what depends on earlier Runs: their group, and requests v1's through and group_through_as_of_run (through's counts rise by exactly what the late Runs it pools add, and not at all when none of them is counted), and the pair entry of the Run right after it then comes from the late Run; (d) the Method's block appears, under its key, in every month file of the Series. Version 1 only ever gains fields: a field, once in a v1 file, keeps its name, its type and its meaning, and a reader ignores any field it does not know, which is why no object in this schema forbids members it does not list. A new Method, or a new version of one, is a new key beside the old ones. A change that would break a reader is published as v2, beside v1.

Example

An excerpt, made by the generator, of the file at https://api.ledgermath.com/v1/series/124066cf09f9/2026-11.json (565,082 bytes) as LedgerMath's fixed sample took it on 2026-11-26; that address serves the file as it is now.

{
  "schema": "ledgermath.api.series-month/1",
  "schema_url": "https://api.ledgermath.com/v1/schemas/series-month.schema.json",
  "index": "https://api.ledgermath.com/v1/index.json",
  "id": "124066cf09f9",
  "month": "2026-11",
  "url": "https://api.ledgermath.com/v1/series/124066cf09f9/2026-11.json",
  "series_url": "https://api.ledgermath.com/v1/series/124066cf09f9.json",
  "benchmark": "http_get",
  "params": {
    "auth": "sigv4",
    "budget_seconds": 120,
    "ca_file": "/etc/pki/tls/certs/ca-bundle.crt",
    "connection": "new",
    "gap_mean_ms": 200,
    "key": "http_get/v1/16777216",
    "object_bytes": 16777216,
    "resolv_conf": "/etc/resolv.conf",
    "timeout_ms": 10000
  },
  "build": "static",
  "instance_type": "m5.large",
  "availability_zone_id": "use2-az3",
  "runs": 62,
  "oldest_run_started_at": "2026-11-11T21:38:34.105358497Z",
  "newest_run_started_at": "2026-11-26T16:36:34.164681903Z",
  "derivations": {
    "series_v1": {
      "method": {"name": "series", "version": 1},
      "points": [
        {
          "run": "01a1cc8c-5ff9-7a35-ae1d-d249eb7184c8",
          "path": "runs/2026/11/11/01a1cc8c-5ff9-7a35-ae1d-d249eb7184c8.json",
          "sha256": "a7c419ccb3819eebf498332bd4828d92b22b06a55d896ddd7f959c7ec6893dda",
          "evidence": "https://api.ledgermath.com/runs/2026/11/11/01a1cc8c-5ff9-7a35-ae1d-d249eb7184c8.json",
          "boot_summary": "https://api.ledgermath.com/boots/2026/11/11/ae35a135-2358-4ac9-a8ad-2f8f98e14a2c.json",
          "started_at": "2026-11-11T21:38:34.105358497Z",
          "boot": "ae35a135-2358-4ac9-a8ad-2f8f98e14a2c",
          "group": "A",
          "counted": true,
          "failure": null,
          "samples": [
            {"sample": 1, "ns": 171882525, "repetitions": 1, "ns_per_repetition": 171882525}
          ],
          "time_per_repetition_ns": 172771102.5,
          "bytes_per_repetition": null,
          "bytes_per_second": null
        }
      ],
      "differed": [
        {
          "from": "01a1cc8c-5ff9-7a35-ae1d-d249eb7184c8",
          "to": "01a1ccc1-2ec1-7463-bd5e-a53755a5929b",
          "facts": [],
          "sections": [{"section": "block_stat", "effect": "not split on", "keys": null}]
        }
      ]
    },
    "requests_v1": {
      "method": {"name": "requests", "version": 1},
      "points": [
        {
          "run": "01a1cc8c-5ff9-7a35-ae1d-d249eb7184c8",
          "path": "runs/2026/11/11/01a1cc8c-5ff9-7a35-ae1d-d249eb7184c8.json",
          "sha256": "a7c419ccb3819eebf498332bd4828d92b22b06a55d896ddd7f959c7ec6893dda",
          "evidence": "https://api.ledgermath.com/runs/2026/11/11/01a1cc8c-5ff9-7a35-ae1d-d249eb7184c8.json",
          "boot_summary": "https://api.ledgermath.com/boots/2026/11/11/ae35a135-2358-4ac9-a8ad-2f8f98e14a2c.json",
          "started_at": "2026-11-11T21:38:34.105358497Z",
          "boot": "ae35a135-2358-4ac9-a8ad-2f8f98e14a2c",
          "group": "A",
          "counted": true,
          "failure": null,
          "exit_code": 0,
          "counted_requests": 40,
          "succeeded": 40,
          "failed": 0,
          "phases": {
            "dns": {
              "count": 40,
              "min": 139488,
              "max": 2516512,
              "p50": 193131,
              "p90": 1137709.1,
              "p95": 1518027.3,
              "p99": null,
              "p99.9": null,
              "at_or_above": {"p50": 20, "p90": 4, "p95": 2}
            }
          },
          "failures": [],
          "setups_failed": [],
          "warmup_failure": null,
          "through": {
            "runs": 1,
            "requests": 40,
            "failed": 0,
            "phases": {
              "dns": {
                "count": 40,
                "min": 139488,
                "max": 2516512,
                "p50": 192512,
                "p90": 1135411.2,
                "p95": 1513472,
                "p99": null,
                "p99.9": null,
                "at_or_above": {"p50": 20, "p90": 4, "p95": 2}
              }
            },
            "failures": []
          },
          "group_through_as_of_run": null
        }
      ]
    }
  }
}
What the excerpt leaves out, in 7 places

The excerpt is made by one rule, applied at every depth, and changes nothing else. A list of more than one element keeps its first, unless every element is a string, a number, true, false or null and the list takes at most 120 characters as JSON: then it is kept whole. An object keeps every member its schema names, but of members whose schemas are each nothing but a reference to one and the same definition (such as a request's eight phases), it keeps the first. Of an object's members whose names its schema does not fix, it keeps the first, then each next one while the values kept, as excerpted, take at most 300 bytes as JSON, and none after the first that does not fit. A string longer than 160 characters keeps its first 160 and ends with …

  • derivations.series_v1.points: its first element of 62
  • derivations.series_v1.points[0].samples: its first element of 40
  • derivations.series_v1.differed: its first element of 61
  • derivations.series_v1.differed[0].sections: its first element of 14
  • derivations.requests_v1.points: its first element of 62
  • derivations.requests_v1.points[0].phases: the first of its 8 members whose schemas are the same reference
  • derivations.requests_v1.points[0].through.phases: the first of its 8 members whose schemas are the same reference

Fields

Each field is named by its path from the top of the file: a.b is the member b of the object a, [] stands for each element of a list, * for a member whose name is not fixed (its object's type says when the names must match a pattern), and a name with a dot in it is written ["p99.9"]. Under each path are its type and whether it is required (present wherever the object holding it is) or optional (it may be absent). An object said to have no other members holds none but those listed for it; any other object may hold members this page does not list. A shape used in more than one place is described once, under Shared shapes, and each place links to it. Version 1 only ever gains fields, so a file may hold a field this page does not list yet: a reader ignores it.

schema

always "ledgermath.api.series-month/1" · required

What this file is, and which version of its shape.

schema_url

string matching ^https?:// · required

The address of this schema.

An address: an absolute URL starting http:// or https://.

index

string matching ^https?:// · required

The address of the table of contents, v1/index.json.

An address: an absolute URL starting http:// or https://.

id

string matching ^[0-9a-f]{12}$ · required

The Series' id: the first 12 hex digits of the sha256 of its key (benchmark, params, build, instance type, zone ID) as canonical JSON.

month

string matching ^[0-9]{4}-(0[1-9]|1[0-2])$ · required

The month, yyyy-mm, UTC: every Run here started in it.

url

string matching ^https?:// · required

This file's own address.

An address: an absolute URL starting http:// or https://.

series_url

string matching ^https?:// · required

The address of the Series' file, v1/series/<id>.json, which lists every month of the Series.

An address: an absolute URL starting http:// or https://.

benchmark

string · required

The benchmark's name, as its Runs give it.

params

object · required

The parameter set, as each Run was given it (LM_PARAM_*).

params.*

string, number or boolean · any number of them

One parameter's value, under the parameter's name, as each Run was given it.

build

string · required

The named build of the benchmark (static, dynamic).

instance_type

string or null · required

The EC2 instance type, as the provider names it.

availability_zone_id

string or null · required

The Availability Zone ID, as the provider names it.

runs

integer, 1 or more · required

Runs of the Series that started this month, counted or not.

oldest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the oldest of them started.

UTC, to the nanosecond, as the Run records it.

newest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the newest of them started.

UTC, to the nanosecond, as the Run records it.

derivations

object · required

Each Method's points of the month, keyed <method name>_v<version> as in the Series' file.

Method series v1 derives every Series; Method requests v1 only those whose samples are requests, and its key is absent from the others.

derivations.series_v1

object · required

Method series, version 1, for the month's Runs.

derivations.series_v1.method

object · required

The Method, by name and version: series, version 1.

derivations.series_v1.method.name

always "series" · required

The Method's name: series.

derivations.series_v1.method.version

always 1 · required

The Method's version: 1.

derivations.series_v1.points

list of objects · required

Every Run of the Series that started this month, in time order.

Each element: One Run on the Series' chart, with the sha256 of its Run file and the addresses of its evidence.

derivations.series_v1.points[].run

string · required

The Run's id.

derivations.series_v1.points[].path

string matching ^runs/[0-9]{4}/[0-9]{2}/[0-9]{2}/[^/]+\.json$ · required

The Run file's path, runs/<yyyy>/<mm>/<dd>/<id>.json: the name LedgerMath gives it, and its address under the API's base (evidence).

derivations.series_v1.points[].sha256

string matching ^[0-9a-f]{64}$ · required

The sha256 of the Run file's bytes, in hex: what the Derivation cites.

derivations.series_v1.points[].evidence

string matching ^https?:// · required

The Run file's address.

An address: an absolute URL starting http:// or https://.

derivations.series_v1.points[].boot_summary

string matching ^https?:// or null · required

The address of the summary of the boot the Run was part of, which accounts for every execution the boot was to run; null when LedgerMath held no summary of that boot when the file was made.

A summary that arrives later turns it into the address, and is one of the four causes for which a month file changes.

An address: an absolute URL starting http:// or https://.

derivations.series_v1.points[].started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the Run started.

UTC, to the nanosecond, as the Run records it.

derivations.series_v1.points[].boot

string · required

The boot's id.

derivations.series_v1.points[].group

string · required

The group its split facts put it in.

derivations.series_v1.points[].counted

boolean · required

Whether the Method counts the Run. A Run it does not count is shown, with why, and is left out of the Method's statistics.

derivations.series_v1.points[].failure

string or null · required

Why it is not counted, or null: the first 10 of its reasons, each cut to its first 500 characters, joined by "; ", then how many more there are.

A string, or null.

derivations.series_v1.points[].samples

list of objects · required

Its counted samples, in stream order; empty when it is not counted.

derivations.series_v1.points[].samples[].sample

integer · required

The sample's number in the stream.

derivations.series_v1.points[].samples[].ns

number · required

sample_ended.t minus sample_started.t, in nanoseconds of the Run's clock.

derivations.series_v1.points[].samples[].repetitions

number · required

How many repetitions of the measured work the sample holds, as its sample_started gives it.

derivations.series_v1.points[].samples[].ns_per_repetition

number · required

ns / repetitions.

derivations.series_v1.points[].time_per_repetition_ns

number or null · required

The median of its samples' ns_per_repetition: the Run's one number, 0 or more.

Null when it is not counted; and null when it is infinite, past a double's range, which JSON cannot hold: when it is the mean of its two middle samples' ns_per_repetition and their sum overflows (both near the top of a double's range; no real clock comes near). Such a Run is still counted, and still among the Runs of its Series' and group's time_per_repetition_ns percentiles.

A number, or null.

derivations.series_v1.points[].bytes_per_repetition

number or null · required

As the benchmark observed it, a positive number. Null when it is not counted, or when the benchmark observed no bytes per repetition.

A number, or null.

derivations.series_v1.points[].bytes_per_second

number or null · required

bytes_per_repetition × 10^9 / time_per_repetition_ns.

Null when either is null; and null when the quotient is infinite, past a double's range, which JSON cannot hold: chiefly a counted Run that observed a finite bytes per repetition above 0 and whose time per repetition is 0 (its median sample ended at the clock read it started at). Such a Run is still counted, and still among the Runs of its Series' and group's bytes_per_second percentiles.

A number, or null.

derivations.series_v1.differed

list of objects · required

What differed between each pair of consecutive Runs of the Series whose later Run started this month, in order: the first entry's earlier Run is the previous month's last when the Series has one.

Each element: What differed between two consecutive Runs of the Series: the split facts whose values differ, and every section of the before-dump whose hash differs, split on or not.

derivations.series_v1.differed[].from

string · required

The earlier Run's id.

derivations.series_v1.differed[].to

string · required

The later Run's id.

derivations.series_v1.differed[].facts

list of strings · required

The split facts whose values differ between the two Runs, by name, in the order the Method's split_on lists them.

derivations.series_v1.differed[].sections

list of objects · required

Each section of the before-dump whose hash differs between the two Runs, split on or not, in order of name, with what its change did to the split.

derivations.series_v1.differed[].sections[].section

string · required

The dump section's name.

derivations.series_v1.differed[].sections[].effect

one of "splits", "left out" or "not split on" · required

splits: its split fact differs; left out: it is split on but differs only in what is left out; not split on: no split fact is read from it.

derivations.series_v1.differed[].sections[].keys

list of strings or null · required

The section's top-level keys whose values differ; null when the section is not read, or is on one side only.

derivations.requests_v1

object · optional

Method requests, version 1, for the month's Runs.

derivations.requests_v1.method

object · required

The Method, by name and version: requests, version 1.

derivations.requests_v1.method.name

always "requests" · required

The Method's name: requests.

derivations.requests_v1.method.version

always 1 · required

The Method's version: 1.

derivations.requests_v1.points

list of objects · required

Every Run of the Series that started this month, in time order.

Each element: One Run of the Series, with the sha256 of its Run file and the addresses of its evidence.

derivations.requests_v1.points[].run

string · required

The Run's id.

derivations.requests_v1.points[].path

string matching ^runs/[0-9]{4}/[0-9]{2}/[0-9]{2}/[^/]+\.json$ · required

The Run file's path, runs/<yyyy>/<mm>/<dd>/<id>.json: the name LedgerMath gives it, and its address under the API's base (evidence).

derivations.requests_v1.points[].sha256

string matching ^[0-9a-f]{64}$ · required

The sha256 of the Run file's bytes, in hex: what the Derivation cites.

derivations.requests_v1.points[].evidence

string matching ^https?:// · required

The Run file's address.

An address: an absolute URL starting http:// or https://.

derivations.requests_v1.points[].boot_summary

string matching ^https?:// or null · required

The address of the summary of the boot the Run was part of, which accounts for every execution the boot was to run; null when LedgerMath held no summary of that boot when the file was made.

A summary that arrives later turns it into the address, and is one of the four causes for which a month file changes.

An address: an absolute URL starting http:// or https://.

derivations.requests_v1.points[].started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the Run started.

UTC, to the nanosecond, as the Run records it.

derivations.requests_v1.points[].boot

string · required

The boot's id.

derivations.requests_v1.points[].group

string · required

The group its split facts put it in.

derivations.requests_v1.points[].counted

boolean · required

Whether the Method counts the Run. A Run it does not count is shown, with why, and is left out of the Method's statistics.

derivations.requests_v1.points[].failure

string or null · required

Why it is not counted, or null: the first 10 of its reasons, each cut to its first 500 characters, joined by "; ", then how many more there are.

A string, or null.

derivations.requests_v1.points[].exit_code

integer or null · required

The binary's exit code, or null when a signal ended it.

derivations.requests_v1.points[].counted_requests

integer or null · required

Counted samples in its stream (counted requests); null when there was none to count.

derivations.requests_v1.points[].succeeded

integer, 0 or more · required

Of the counted requests, those that succeeded; 0 for a Run not counted.

derivations.requests_v1.points[].failed

integer, 0 or more · required

Of the counted requests, those that failed; 0 for a Run not counted.

derivations.requests_v1.points[].phases

object (shape phase_stats) · required

Its own succeeded requests' statistics per phase, exactly; empty for a Run not counted or one whose every request failed.

derivations.requests_v1.points[].failures

list of objects (shape failures) · required

Its counted requests that failed, by where and what kind of failure, with how many; empty for a Run not counted.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

derivations.requests_v1.points[].setups_failed

list of objects (shape failures) · required

Its setups of a kept connection that failed outside any sample, by where and what kind of failure, with how many; empty for a Run not counted.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

derivations.requests_v1.points[].warmup_failure

object or null · required

How the warmup request failed, or null.

derivations.requests_v1.points[].warmup_failure.phase

string · required

Where the warmup request failed, read as a counted request's failure is: its certificate events, and a withheld certificate line (its withheld_event the string certificate), are set aside first; then it is record when the binary withheld any other of its lines; otherwise request_failed.phase, or response for a complete response whose status is not 2xx.

derivations.requests_v1.points[].warmup_failure.kind

string · required

What kind of failure, read in the same order: for record, line_withheld_<event> from the first withheld line in stream order that is not a certificate's, when it names the event it replaced as a word of a-z, 0-9 and _ starting with a letter, and line_withheld when it does not; otherwise request_failed.error, or status_<code>.

derivations.requests_v1.points[].through

object (shape pool_summary) or null · required

The Series' pooled figures through this Run; null before its first counted Run.

derivations.requests_v1.points[].group_through_as_of_run

object (shape pool_summary) or null · required

Its group's pooled figures through this Run (the counted Runs of its group that started at or before it), as they stood through this Run: a Run that started later never changes it, as such a Run never changes through (a Run that started earlier and arrives late can change both: cause (c) of when a month file changes).

It is null for two reasons: the Series had had Runs of one group only, up to and including this Run; or its group had had no counted Run by this Run (a group whose first Run is not counted, say), even when through, which pools every group, has figures. requests v1's Derivation has a field group_through that differs from it in one case only: in a Series that later has more than one group, the Derivation gives each point before the Series' first Run of a group other than the first its group's figures, which are then the Series' own, its through. To recover the Derivation's group_through, take through for exactly those points: the points before the first point whose group differs from the first point's, in a Series whose requests_v1 groups number more than one (the Series file's). Take this field as it is for every other point. Never substitute through for a null otherwise: a null on a point of a group with no counted Run yet stands beside a through that holds other groups' figures.

Shared shapes

… stands for the path at which the shape is used; each shape gives every place it is used.

Shape phase_stats

object

Each phase's statistics, by phase; a phase no request had is absent (dns, connect and tls over a kept connection).

Used at derivations.requests_v1.points[].phases; ….phases in pool_summary.

….dns

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….connect

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….tls

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….send

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….first_byte

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….headers

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….body

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….total

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

Shape failures

list of objects

Failures counted by where and what kind: each entry gives a phase, a kind of failure, and how many failed with both.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

Used at derivations.requests_v1.points[].failures and derivations.requests_v1.points[].setups_failed; ….failures in pool_summary.

…[].phase

string · required

For a request that failed: record when the binary withheld one of its lines (a withheld certificate line, its withheld_event the string certificate, is set aside first, like a certificate event, and is no failure); otherwise request_failed.phase, or response for a complete response whose status is not 2xx.

For a setup of a kept connection that failed (setups_failed): the phase its connection_failed event gives.

…[].kind

string · required

For a request that failed: for record, from the first withheld line in stream order that is not a certificate's, line_withheld_<event> when it names the event it replaced as a word of a-z, 0-9 and _ starting with a letter, and line_withheld when it does not; otherwise request_failed.error, or status_<code>.

For a setup of a kept connection that failed (setups_failed): the error its connection_failed event gives.

…[].count

integer, 1 or more · required

How many failed in that phase with that kind of failure, 1 or more.

Shape pool_summary

object

The pooled figures as they stood through one Run: the counted Runs that started at or before it. What a citation of an earlier moment is checked against.

Used at derivations.requests_v1.points[].through and derivations.requests_v1.points[].group_through_as_of_run.

….runs

integer, 0 or more · required

How many counted Runs it pools.

….requests

integer, 0 or more · required

How many succeeded requests it pools.

….failed

integer, 0 or more · required

How many of its counted requests failed, never timed.

….phases

object (shape phase_stats) · required

Each phase's statistics, by phase; a phase no request had is absent (dns, connect and tls over a kept connection).

….failures

list of objects (shape failures) · required

Its failed requests, by where and what kind of failure, with how many.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

Shape request_stats

object

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

Used at ….dns, ….connect, ….tls, ….send, ….first_byte, ….headers, ….body and ….total in phase_stats.

….count

integer, 0 or more · required

How many requests the figures are of: those of the set that succeeded and had this phase.

….min

number · required

The least of their times, in nanoseconds, exactly.

….max

number · required

The greatest of their times, in nanoseconds, exactly.

….p50

number or null · required

The 50th percentile of their times, in nanoseconds; null when count is under 2, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….p90

number or null · required

The 90th percentile of their times, in nanoseconds; null when count is under 10, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….p95

number or null · required

The 95th percentile of their times, in nanoseconds; null when count is under 20, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….p99

number or null · required

The 99th percentile of their times, in nanoseconds; null when count is under 100, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

…["p99.9"]

number or null · required

The 99.9th percentile of their times, in nanoseconds; null when count is under 1000, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….at_or_above

object · required

For each percentile reported, how many requests are ranked at or above it (ties counted by rank).

….at_or_above.p50

integer · optional

How many requests are ranked at or above the 50th percentile; absent when it is not reported.

….at_or_above.p90

integer · optional

How many requests are ranked at or above the 90th percentile; absent when it is not reported.

….at_or_above.p95

integer · optional

How many requests are ranked at or above the 95th percentile; absent when it is not reported.

….at_or_above.p99

integer · optional

How many requests are ranked at or above the 99th percentile; absent when it is not reported.

….at_or_above["p99.9"]

integer · optional

How many requests are ranked at or above the 99.9th percentile; absent when it is not reported.