-
Notifications
You must be signed in to change notification settings - Fork 343
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
Docker install: how do I get the vendor/autoload.php and vendor/perftools/xhgui-collector/external/header.php files? #276
Comments
I ran this to extract the files from docker:
Is that the way to go? |
The 'wt' (wall time) parameter shows 0, so something must be amiss. |
You don't extract the header file. Instead you can use the xhgui-collector package in your application. The dockerfilenis more for hosting the gui. |
This happens because on startup you get to see
Then you include the
I don't understand this comment. Even with using this package you still have the situation that your app is outside of the container, and xhgui + it's mongodb instance is inside the container. Possibly mongodb has a port open so you can put information inside it. But how? Including a |
for saving samples, I recommend using the new package: and yes, of course, it needs access to the same MongoDB instance, where GUI reads the data. how you manage to do that depends very much on your setup. If you have ideas for documentation update, PR's are most welcome :) ps: you quote text, which is not from this issue (#276). it's confusing as hell as well. |
@flip111 What I tried to say, is that you quote text which origin is unclear:
|
there's documentation update going on, you're welcome to review it: #293 |
The origin is here #276 (comment) |
docs merged, you should use the recommended library: |
I am trying to use xhgui with tideways on mac os x 10.15. I used the docker instructions and the webserver came up. But I am not sure how to get access to the vendor files necessary to enable profiling with my php app.
Thank you for any guidance.
The text was updated successfully, but these errors were encountered: