arthas-trace Command Examples

Trace method invoke chain, and output the time cost for each node in the path. See also: arthas, arthas-watch. More information: https://arthas.aliyun.com/en/doc/trace.html.

trace {{class-pattern}} {{method-pattern}}

trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}'

trace -E {{class-pattern1|class-patter2}} {{method-pattern1|method-pattern2|method-pattern3}}

trace {{class-pattern}} {{method-pattern}} '#cost > {{10}}' -n 5