Skip to content

Trace & Perf Support

ZengJingtao edited this page Jan 30, 2023 · 4 revisions

Samples

# StartTrace
curl -d '{"file": "trace_output.txt", "filter": "kTraceFilterNone"}' "http://somehost:port/db/mydb?cmd=StartTrace"
# EndTrace
curl -d '{}' "http://somehost:port/db/mydb?cmd=EndTrace"

Trace

Start End
StartTrace EndTrace
StartIOTrace EndIOTrace
StartBlockCacheTrace EndBlockCacheTrace

Reset

ResetPerf and ResetIOPerf, with optional parameter perf_level.