Skip to Content
fastmon Docs
Performance

Server-Timing panel

Fehler melden

Server-Timing dashboard panel: three blocks.

  • cache: the server cache that answered. statuses holds the pageviews per layer and status, age the quantiles of the age of the copy it served in SECONDS (the phases are milliseconds), and ttl those of the freshness left on that copy.
  • phases: p50/p75/p95 of the eight backend-phase durations (NULLs skipped), plus count = pageviews reporting the phase, so a percentile over 12 pageviews is distinguishable from one over 50k.
  • top_keys: custom server-timing keys. Timed keys (server_timing_dur) come first, ranked by p75; categorical keys that only ever carried a desc (server_timing_desc, e.g. pop;desc="DE-1331") follow with p75_ms=None and their top values. limit applies to each group, so the block holds at most 2×limit items.

Requires: analytics:read, held by every role.

Authentifizierung

headerAuthentifizierungBearer <fm_… / fmo_…>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Pfad-Parameter

org_id*Org Id

An ID, a UUID in lowercase with hyphens.

Formatuuid

Request-Body

application/json
  1. body

Request for the Server-Timing dashboard panel.

time_range*

Time range for the query

filters?

Optional filters

timezone?|

IANA time zone the local hours of filters.hour_of_day are read in, such as Europe/Berlin. The filter requires it. This route buckets nothing, so the zone changes nothing else

sparse_buckets?|

The sparse threshold of the page, the number POST /analytics/sparse-hours derives. With exclude the rows of the thin hours are left out. Without it the route only echoes the number in meta.sparse_buckets

limit?Limit

Max custom keys (top_keys block)

Range1 <= value <= 100
Default20

Response-Body

Successful Response

application/json
  1. response

Response for the Server-Timing dashboard panel: three blocks.

meta*

Facts about the result

request*

The request as the server resolved it

cache*

The server cache that answered

phases*array<>

Backend-phase percentiles

top_keys*array<>

Top custom keys by p75

POST
/organizations/{org_id}/analytics/server-timing
Example Request
curl -X POST 'https://api.fastmon.eu/organizations/019d8b65-a109-76c7-9f4a-bda57a7ab21d/analytics/server-timing' \  -H 'Content-Type: application/json' \  -d '{  "time_range": {    "from": "2026-04-14T09:50:01Z",    "to": "2026-04-14T09:50:01Z"  }}'
Example Response
{  "meta": {    "execution_time_ms": 0,    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true,    "next_cursor": "string",    "sampling": {      "rate": 0,      "is_sampled": true,      "estimated_metrics": [        "string"      ]    },    "is_identity_mixed": true,    "complete_until": "2026-04-14T09:50:01Z",    "sparse_buckets": {      "min_pageviews": 0,      "excluded_hour_count": 0    }  },  "request": {    "time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "comparison_time_range": {      "from": "2026-04-14T09:50:01Z",      "to": "2026-04-14T09:50:01Z"    },    "granularity": "minute",    "identity": "stitch",    "window_seconds": 0,    "filters": {},    "url_param_key": "string"  },  "cache": {    "statuses": [      {        "cache_layer": "string",        "cache_status": "string",        "count": 0      }    ],    "age": {      "p50": 0,      "p75": 0,      "p90": 0,      "p95": 0,      "count": 0    },    "ttl": {      "p50": 0,      "p75": 0,      "p90": 0,      "p95": 0,      "count": 0    }  },  "phases": [    {      "phase": "string",      "count": 0,      "p50_ms": 0,      "p75_ms": 0,      "p95_ms": 0    }  ],  "top_keys": [    {      "key": "string",      "count": 0,      "p75_ms": 0,      "values": [        {          "desc": "string",          "count": 0        }      ]    }  ]}