Skip to content
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

Working on #151 #243

Merged
merged 1 commit into from
Jul 27, 2018
Merged

Working on #151 #243

merged 1 commit into from
Jul 27, 2018

Conversation

Mte90
Copy link
Contributor

@Mte90 Mte90 commented Jul 7, 2018

Right now show the domain in the list but not in the pages.
I am not sure about how to pass the domain on https://github.com/perftools/xhgui/blob/master/src/Xhgui/Controller/Run.php#L186

@@ -55,7 +55,7 @@
</a>
</td>
<td>
{% set addr = result.meta.url %}
{% set addr = result.meta('SERVER.SERVER_NAME') ~ result.meta.url %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this be the server that xhgui is running on? That isn't necessarily the same server/host that the profile data was collected from.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I saw show the right domain and not the server one.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I misread the code earlier.

@markstory markstory merged commit 98406e3 into perftools:master Jul 27, 2018
@Mte90
Copy link
Contributor Author

Mte90 commented Jul 27, 2018

@markstory about how to pass the domain on https://github.com/perftools/xhgui/blob/master/src/Xhgui/Controller/Run.php#L186 to improve also the single view of the profile running do you have any hints

@markstory
Copy link
Member

Wouldn't the profile have the host name in its metadata again?

@Mte90
Copy link
Contributor Author

Mte90 commented Jul 28, 2018

As I saw there is the https://github.com/perftools/xhgui/blob/master/src/Xhgui/Controller/Run.php#L186 that share only few specific info and I don't know how to pass also the server name so I can reuse that value also on the frontend to show the domain.

@markstory
Copy link
Member

The first run item should have the meta key.

@Mte90
Copy link
Contributor Author

Mte90 commented Jul 28, 2018

AS I can see share https://github.com/perftools/xhgui/blob/master/src/Xhgui/Controller/Run.php#L185 only requests and not other parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants