Trace-&-Perf-Support

Samples

1
2
3
4
# 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.