(limit = 30, errorsOnly = false)
| 478 | } |
| 479 | |
| 480 | export const fetchTraces = (limit = 30, errorsOnly = false) => |
| 481 | get<TraceListResponse>(`/v1/traces?limit=${limit}${errorsOnly ? "&errors_only=1" : ""}`); |
| 482 | |
| 483 | export const fetchTraceDetail = (requestId: string) => |
| 484 | get<TraceRecord>(`/v1/traces/${encodeURIComponent(requestId)}`); |