Tideways Trace Command
The trace command lets you inspect previously collected traces, for example ones triggered with tideways run or a tracepoint. Traces are always loaded from the Tideways backend for the currently selected project.
It has three subcommands: show, span, and call.
Show a Trace
Renders the same CLI trace summary produced by tideways run for a previously collected trace.
$ tideways trace show TRACE_ID
|
(optional) Number of span rows to include in markdown output. Use 0 to suppress the span table. (default 50) |
|
(optional) Number of callgraph rows to include in markdown output. Use 0 to suppress the callgraph table. (default 50) |
Show a Span
Renders a concise details view for a single span within a trace.
$ tideways trace span TRACE_ID SPAN_ID
Show a Callgraph Call
Renders a concise details view for a single callgraph call within a trace.
$ tideways trace call TRACE_ID curl_multi_select
PHP namespace backslashes are often consumed by the shell. Quote namespaced calls, for example:
$ tideways trace call TRACE_ID 'App\Service::run'
The backend also accepts over-escaped namespace separators such as App\\Service::run, and unique short class names such as Service::run.