hosting
GET /v1/sites/{siteId}/apm/traces/{traceId}
Show where one kept request's milliseconds went.
Autentifikimi
Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen sites.view; një çelës pa të refuzohet me 403, jo 404.
Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.
Provoje
Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/apm/traces/{traceId} \
-H "Authorization: Bearer zdk_live_…"Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së
Detajet
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.
Parametrat
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
siteId (path) | Uuid | Po | Site ID (UUIDv7). |
traceId (path) | string | Po | 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… |
Përgjigja
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
id | string | Po | — |
transaction | string | Po | — |
method | string | Po | — |
path | string | Po | 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 | Po | — |
throttled_ms | integer | Po | — |
io_throttled_ms | integer | Po | — |
hit_limits | boolean | Po | — |
has_error | boolean | Po | — |
error_text | string | Po | — |
cache_miss_reasons | string[] | Po | Why this request bypassed the page cache; empty when it was cacheable. |
started_at | string | Po | — |
costs | SiteApmTraceCost[] | Po | — |
Gabimet që ky pikëndalim mund të kthejë
401 · 403 · 404 · 422 · 429