hosting
GET /v1/sites/{siteId}/apm/traces
List the individual profiled requests kept for a site.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar sites.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/apm/traces \
-H "Authorization: Bearer zdk_live_…"Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
The sampled requests stored whole, slowest first. A trace is one real request with its function-level breakdown attached; the aggregates above carry the honest averages so the sampling cannot mislead about typical performance. ⛔ Kept for a bounded period (7 days) because a trace with its breakdown is the only row in this vertical that accumulates. The ranked tables keep far longer for a fortieth of the storage. Requires `sites.view` and the `request_profiling` entitlement.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
siteId (path) | Uuid | Evet | Site ID (UUIDv7). |
transaction (query) | string | Hayır | Only traces whose grouped transaction label matches exactly. |
limit (query) | integer | Hayır | How many traces to return (1–100, default 20). |
Yanıt
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
data | SiteApmTrace[] | Evet | — |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 404 · 422 · 429