-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tideways with Xhgui #18
Conversation
Trying with This tickets will fix Varying-Vagrant-Vagrants/VVV#1540 |
I am using:
But seems that with that command is not executing my script @tomjn |
keep in mind that command will only execute the provisioner, it won't pull down updates or anything else, it just runs |
I downloaded inside |
I'm not sure what you mean by that, VVV utilities live in the If you want to update the utility, you need to do that manually beforehand with:
|
I executed that but didn't worked with my fork. For |
Right now there are 3 problems:
I am working on fix that issues, the rest seems working. |
The actual remaining stuff is the 502 error on nginx. |
Xhgui is active on http://192.168.50.4/xhgui/webroot/ but with issues on connecting to mongodb. |
Now is connecting and intercepting all the request of xhgui itself but not seems from the rest of website also if is prepended. Also url like http://vvv.test/xhgui/webroot/run/delete_all are not working probably because there is no rule on nginx about how to handle them but I need help to udnerstand how to configure nginx for VVV. |
|
Seems that I got my issue for why is not loaded. |
Ok now tideways is compiled against every php version and mongodb is symlinked :-) |
Yeah, is quite finished remain the issue of the url that is not rewritten and is ready to be merged :-D |
I fixed that problem adding:
to |
For Nginx, you can insert the nginx config as a new file directly inside the VM, it might get destroyed if the VM is recreated but that's what the |
I had problems on adding a new nginx file because I was trying to add a port to access to xhgui without success. |
You'd do it the same way you would do any other nginx config file, drop it in the appropriate folder. There's no need to modify existing nginx files, the same way site provisioners don't modify existing files they just get their |
Here is where VVV symlinks the nginx configs into the nginx config folder: https://github.com/Varying-Vagrant-Vagrants/VVV/blob/develop/provision/provision-site.sh#L77 |
My issues are with add a tool that is in a subfolder. |
Seems also that Mongodb is not starting automatically on |
I had to revert back to tideways xhprof because:
xhprof is for the open source version, in the meantime I fixed few issues with mongodb and now xhgui is executed but I want to test it better. |
Can you ellaborate? Is this related to the value of the |
I think to the DIR variable because I am getting errors about a file that is not found (of the mongo provision).
|
|
I did a vide oto show it on working so also for the releasen otes we have something :-) https://www.youtube.com/watch?v=f2mHyhIOSso&feature=youtu.be Evaluating if share also on reddit right now |
I added:
I still need to optimize the compile part of tideways. Probably I will do another video when we will merge it to show it how to use it. |
Now when tideways is executed install also mongo without problems :-) |
I will add support for qurey monitor to get disabled on profiling with https://github.com/johnbillion/query-monitor/blob/develop/query-monitor.php#L49
|
I did also a patch for xhgui so we can have a more clean code and waiting from them for a merge so I can update this pr perftools/xhgui-collector#24 |
also we have this guide about xhgui if we want to add in the docs:
|
And also this one is done. |
…es and force overwritecl
This is close enough now that I'm just going to merge it |
I started working on that and is not yet ready.
Right now I am only doing the bash script and I will test later.
edit: testing instructions, modify
vvv-custom.yml
as so: