fastmon Docs
Analytics

Fetch and XHR panel

Fehler melden

FetchXhr (fetch/XHR) dashboard panel: three blocks.

  • totals: aggregate calls, errors, and worst-case duration.
  • endpoints: per-endpoint aggregates grouped by method/host/path (the other rollup bucket is excluded, reflected only in totals), sorted by impact.
  • outliers: the slowest individual calls.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <token>

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
Formatuuid

Request-Body

application/json
  1. body

Request for the fetch_xhr (fetch/XHR) dashboard panel.

time_range*

Time range for the query

filters?

Optional filters

limit?Limit

Max endpoints (endpoints block)

Range1 <= value <= 100
Default20
outlier_limit?Outlier Limit

Max outliers

Range1 <= value <= 100
Default20

Response-Body

Successful Response

application/json
  1. response

Response for the fetch_xhr dashboard panel: three blocks.

meta*

Facts about the result

request*

The request as the server resolved it

totals*

Aggregate counters

endpoints*array<>

Per-endpoint aggregates

outliers*array<>

Slowest individual calls

POST
/organizations/{org_id}/analytics/fetch-xhr
curl -X POST 'https://api.fastmon.eu/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/fetch-xhr' \  -H 'Content-Type: application/json' \  -d '{  "time_range": {    "from": "2019-08-24T14:15:22Z",    "to": "2019-08-24T14:15:22Z"  }}'
{  "meta": {    "execution_time_ms": 0,    "total": 0,    "limit": 0,    "offset": 0,    "has_more": true,    "next_cursor": "string",    "sampling": {      "sampling_rate": 0,      "is_sampled": true,      "estimated_metrics": [        "string"      ]    },    "is_identity_mixed": true  },  "request": {    "time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    },    "comparison_time_range": {      "from": "2019-08-24T14:15:22Z",      "to": "2019-08-24T14:15:22Z"    },    "granularity": "minute",    "identity": "stitch",    "window_seconds": 0,    "filters": {}  },  "totals": {    "calls": 0,    "error_count": 0,    "first_party_errors": 0,    "third_party_errors": 0,    "error_rate": 0,    "worst_ms": 0  },  "endpoints": [    {      "method": "string",      "host": "string",      "path": "string",      "calls": 0,      "avg_ms": 0,      "max_ms": 0,      "error_count": 0,      "error_rate": 0,      "impact_ms": 0,      "errors_by_status_code": {        "property1": 0,        "property2": 0      },      "p75_ms": 0,      "p95_ms": 0,      "avg_offset_ms": 0,      "sync_calls": 0,      "aborts": 0,      "blocked": 0,      "avg_bytes": 0,      "max_bytes": 0    }  ],  "outliers": [    {      "method": "string",      "host": "string",      "path": "string",      "duration_ms": 0,      "status_code": 0,      "ttfb_ms": 0,      "page_url": "string",      "server_timing_phases": {        "property1": 0,        "property2": 0      }    }  ]}