fastmon Docs
Analytics

Break errors down by signature

Fehler melden

Get breakdown of error signatures from collected beacons.

Reads the structured errors Nested column. Each beacon stores up to 5 (type, count, sample_message, frame_hosts, frame_lines, frame_cols, fingerprint, is_first_party) entries; we ARRAY JOIN and aggregate by fingerprint, the canonical server-computed signature key.

Display projections (error_type, sample_message, frames) are aggregated via any() since within a fingerprint group they're stable by construction (the fingerprint hashes those exact inputs); using any() rather than argMax/groupArray keeps the query cheap.

AuthentifizierungBearer <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.

In: header

Pfad-Parameter

org_id*Org Id
Formatuuid

Request-Body

application/json

Request for error types breakdown.

Response-Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/organizations/{org_id}/analytics/error-types
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics/error-types" \  -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"      ]    }  },  "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": {}  },  "data": [    {      "fingerprint": "string",      "error_type": "string",      "count": 0,      "share": 0,      "sample_message": "string",      "message_kind": "",      "message_value": "",      "ownership": "first_party",      "frames": [        {          "host": "string",          "path": "",          "line": 0,          "column": 0        }      ],      "last_seen_at": "2019-08-24T14:15:22Z",      "variants": [        {          "fingerprint": "string",          "count": 0,          "frames": [            {              "host": "string",              "path": "",              "line": 0,              "column": 0            }          ]        }      ]    }  ],  "error_count": 0,  "blocked_count": 0,  "own_subdomain_hosts": [    "string"  ]}