hosting
GET /v1/sites/{siteId}/apm/traces/{traceId}
Show where one kept request's milliseconds went.
Tabbatar da Asali
Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin sites.view; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.
Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.
Gwada
May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/apm/traces/{traceId} \
-H "Authorization: Bearer zdk_live_…"An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API
Bayani
The function-level breakdown for one stored request: which WordPress plugin, PHP extension, PHP function or SQL query consumed the time, heaviest first, with the call site relative to the site's own document root. ⭐ SQL literals arrive already redacted by the vendor (`WHERE autoload IN ('xxx')`) and are neither restored nor re-redacted here. That redaction is why a slow query can be shown to a customer at all. ⛔ A trace past retention answers `404` rather than `410`: the customer's next action is identical, and a distinct code would be an oracle for which trace ids ever existed. Requires `sites.view` and the `request_profiling` entitlement. A trace belonging to another site answers `404`, never another tenant's data.
Sigogi
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
siteId (path) | Uuid | Eh | Site ID (UUIDv7). |
traceId (path) | string | Eh | One of our own trace ids, from `id` on the list row. ⭐ A UUID, unlike the sibling live surface's vendor task id: this is a primary key we minted, so a non-UUID really is *"no su… |
Martani
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
id | string | Eh | — |
transaction | string | Eh | — |
method | string | Eh | — |
path | string | Eh | The path as traced, before normalisation — so a developer can reproduce the exact request, which the grouped transaction label deliberately cannot express. |
duration_ms | integer | Eh | — |
throttled_ms | integer | Eh | — |
io_throttled_ms | integer | Eh | — |
hit_limits | boolean | Eh | — |
has_error | boolean | Eh | — |
error_text | string | Eh | — |
cache_miss_reasons | string[] | Eh | Why this request bypassed the page cache; empty when it was cacheable. |
started_at | string | Eh | — |
costs | SiteApmTraceCost[] | Eh | — |
Kuskuren da wannan matsaya za ta iya maido wa
401 · 403 · 404 · 422 · 429