Skip to content
HALOWERK

Laufwerk

trace server span exclusive time

Return inclusive and exclusive durations of supplied nested server spans using child-interval unions.

POST https://lauf.halowerk.com/v1/trace-server-span-exclusive-time

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
spansarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "spans": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "parent": {
            "type": "string",
            "maxLength": 64
          },
          "start": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "end": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          }
        },
        "required": [
          "id",
          "parent",
          "start",
          "end"
        ],
        "additionalProperties": false
      },
      "maxItems": 200,
      "minItems": 1
    }
  },
  "required": [
    "spans"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "spans": [
    {
      "id": "request",
      "parent": "",
      "start": 0,
      "end": 100
    },
    {
      "id": "db",
      "parent": "request",
      "start": 10,
      "end": 60
    },
    {
      "id": "rpc",
      "parent": "request",
      "start": 40,
      "end": 80
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’