hosting

GET /v1/sites/{siteId}/apm/traces/{traceId}

Show where one kept request's milliseconds went.

Todos os endpoints de hosting

Autenticação

Envie uma chave de API como um token de portador. A chave deve ter a permissão sites.view; uma chave sem ela é recusada com 403, e não 404.

Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.

Experimente

Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/apm/traces/{traceId} \
  -H "Authorization: Bearer zdk_live_…"

Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API

Detalhes

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.

Parâmetros

NomeTipoObrigatórioO que é
siteId (path)UuidSimSite ID (UUIDv7).
traceId (path)stringSimOne 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…

Resposta

NomeTipoObrigatórioO que é
idstringSim
transactionstringSim
methodstringSim
pathstringSimThe path as traced, before normalisation — so a developer can reproduce the exact request, which the grouped transaction label deliberately cannot express.
duration_msintegerSim
throttled_msintegerSim
io_throttled_msintegerSim
hit_limitsbooleanSim
has_errorbooleanSim
error_textstringSim
cache_miss_reasonsstring[]SimWhy this request bypassed the page cache; empty when it was cacheable.
started_atstringSim
costsSiteApmTraceCost[]Sim

Erros que este endpoint pode retornar

401 · 403 · 404 · 422 · 429