Technical Blog Post
Abstract
Historical data interval for chart widget in APM UI 7.7
Body
In SmartCloud APM UI 7.7, a lot of widgets have graphs that displays data over time.
For example the ITM Windows OS Agent have charts that displays the CPU and Memory utilization for the last 2 hours, (one is the "Windows OS CPU utilization (last 2 hours)" group widget)
Basically, the historical data interval for monitoring widgets in APM UI is defaulted to 2 hours, but it would be useful to have widgets with larger intervals, for example 24 hours.
The group widgets delivered with the products widgets are expected to show last 2 hours of metrics, as specified in the widget title, and must not be altered.
You can anyway create custom group widget for such purpose, by following the steps in the APM User's Guide.
http://www-01.ibm.com/support/knowledgecenter/SSATHD_7.7.0/com.ibm.apm.doc_77/apm_ui_docs/apmui_77fp1/groupwidgets.html
You can use the group widget sample described in the guide, and modify it as needed.
Historical query is defined using param_Time, as showed in below excerpt:
......
"query": {
"param_Time": "-P0Y0M0DT24H0M0S"
}
......
In the above definition, it's set to be 24 hours.
To increase it to 48 hours, you could change it to:
"param_Time": "-P0Y0M0DT48H0M0S"
A good example to create a custom widget for your purpose is provided with sample cpu_trend.json, that defines a group widget to retrieve CPU utilization for the last 24 hours.
For additional detail, please carefully review the information in the APM UI 7.7 User's Guide, Chapter 7 "Customization support", specifically the paragraph related to group widgets and dashboard customization.
Hope it helps.
Subscribe and follow us for all the latest information directly on your social feeds:
|
|
|
Check out all our other posts and updates: | |
Academy Blogs: | https://goo.gl/U7cYYY |
Academy Videos: | https://goo.gl/TLfMoF |
Academy Google+: | https://goo.gl/HnTs0w |
Academy Twitter : | https://goo.gl/AhR8CL |
UID
ibm11277038