Widgets layout in APM v8 for custom agents (Agent Builder Agents)
Albook 120000625S Visits (3898)
As you likely know, last versions of Agent Builder can generate custom agents that can be configured to connect APM v8.x servers, in addition
In order to enable a custom agent for APM v8, some additional steps are required, but they are all clearly documented in the Agent Builder manual
One of these steps is about selecting the attribute groups you want to be showed in Dashboard widgets.
One of my customers was developing Agent Builder agents (AB version 6.3.5 Build id: 201707241506) to be used together with APM 8.1.4.
Instead, if you create the custom agent with 2 single row attribute groups, 2 multi rows attribute groups and again 2 single rows attribute groups, they are all placed correctly because the multi rows widgets are placed as a single element in the dashboard line.
This is an example of a truncated widget:
This problem has been already discussed with Agent Builder development team and it is going to be fixed in next release of the tool.
Please consider that the widgets are automatically added to the dashboard when custom agent is registered, we are not dealing with custom views.
The widgets are placed in the dashboard respecting the sequence of attribute groups listed in the Agent Builder tool.
If you don't want to put all the multi row widgets at the end, you must respect a specific sequence of single row and multi row attribute groups.
Good widget layout:
Truncated Widget layout:
Truncated Widget layout:
There might be other combinations leading to a bad layout, this is why my preferred option is to put the multi rows attribute groups after all the single row attribute groups.
This is a general rule that should be respected while creating a new custom agent for APM v8.
Agent Builder allows to "move" the position for the attribute groups previously added, and so as a consequence to alter the position of the related widget in the dashboard.
This is how you can do it :
1) Open Agent Builder tool and open the Agent project you want to modify
3) Click Dashboard Setup Wizard
5) A new window will open, it shows the name of the attribute groups, in the right side of the panel you have the arrows to move up/down each single attribute group after having selected it.
In this specific case, Logical Disks and Proc
After you did this, you can click finish and then rebuild the agent, also changing the agent version.
I will keep this article updated with further information in case I have news about the official fix for the Agent Builder tool.
Hope it helps.
Subscribe and follow us for all the latest information directly on your social feeds: