Runtime Tracing
debug_goTrace
Turns on Go runtime tracing for the given duration and writes trace data to disk.
Client | Method Invocation |
---|---|
Console |
|
RPC |
|
Parameters
Name | Type | Description |
---|---|---|
file | string | The filename for the trace output. |
seconds | int | The tracing duration in seconds. |
Return Value
None
Example
Console
HTTP RPC
debug_startGoTrace
Starts writing a Go runtime trace to the given file.
Client | Method Invocation |
---|---|
Console |
|
RPC |
|
Parameters
Name | Type | Description |
---|---|---|
file | string | The filename for the tracing output. |
Return Value
None
Example
Console
HTTP RPC
debug_stopGoTrace
Stops writing the Go runtime trace.
Client | Method Invocation |
---|---|
Console |
|
RPC |
|
Parameters
None
Return Value
None
Example
Console
HTTP RPC
Last updated