This is a nice idea but I do not think this is possible because the URL from AppInternals does not add the corresponding parameters.
I have filed a new suggestion;
Bug 286195 - add search parameters to the URL in order to be able to display the result in Portal using an iframe
One of the reasons you may have been unable to do this is because AppInternals prevents being embedded in an iFrame to protect against clickjacking attacks.
One option may be to use Chrome and the plugin Allow iFrames:
You can then embed AppInternals in Portal using an iFrames.
Re: including search parameters in the URL, AppInternals does this. You can determine what that URL is by clicking on the share icon (the paper clip icon):
Open up the link in another tab and copy it from the new tab. The URL should be in this format:
The highlighted portion represents the time frame the operator will run against. To make this relative, e.g. recent 60 minutes, replace the following:
with the following in the URL:
Here is an example HTML iframe snippet I used (along with some cropping):
<div style="width: 900px; height: 400px; overflow: hidden">
<iframe src="appinternals_operator_url" allowtransparency="false" frameborder="0" height="1500"
width="1050" style="position: relative; left: -10px; top: -390px"></iframe>
[Determine ‘appinternals_operator_url’ to use as I mentioned before]
Lastly, note that operators generate/aggregate data on the fly. Some operators (such as processingtime) can be resource intensive. So I suggest you be a little cautious if you plan to set up this to refresh automatically from Portal.
BTW it is easy to tell which operators are resource intensive and which aren’t. In the Search tab click on the Analysis Button to list all the operators. The ones with an hourglass are resource intensive and those with lightning icons are not.