开启
curl ‘http://127.0.0.1:2379/dashboard/api/continuous_profiling/config’
-H ‘Authorization: xxx{token}’
–data ‘{“continuous_profiling”:{“enable”:true,“data_retention_seconds”:259200}}’
关闭
curl ‘http://127.0.0.1:2379/dashboard/api/continuous_profiling/config’
-H ‘Authorization: Bearer xxx{token}’
–data ‘{“continuous_profiling”:{“enable”:false,“data_retention_seconds”:259200}}’