Creating custom widgets
You can create custom widgets where you select a chart, set data definition to add one or more data sources, select monitoring parameters, and set widget-level filters. You can create such custom widgets and use them in different dashboards according to your requirement. You can also save the widgets that you create as custom widget templates. You can also create specialized widgets such as web widgets, multi-chart widgets, and a widget to list all the instances for a selected source and resource type.
Before you begin
- Ensure that the data source that you want to monitor are already added.
For more information about connectors and data sources, see Configuring Connectors and Sources.
- If you want to monitor data sources other than Cloud APM, Monitoring, ITM, Cloud Event Management, Tivoli®
Netcool®/OMNIbus, and JDBC-supported data
sources, then you must ensure that the manual data definitions for those data sources are created.
For more information about creating manual data definition, see Creating a manual data definition.
- Ensure that the custom filters that you want to set for a widget are already created. The
default filters can be applied to Cloud APM, Monitoring, ITM, and Cloud Event Management data sources only.
For more information about creating custom filters, see Filters.
- If you want to create a widget to continuously render real-time data of applications, then you
must use the
Real TimeConnector. Also, you must use a Line chart only and in the chart properties, you must specify the number of data points to be displayed on the chart. You can add only one manual data definition and define only one series in the Line chart. Hence, you must select Define a Manual Series option in the Series Type tab while setting chart properties. If you select Define a Dynamic Series option, then the real-time data is not displayed. Also, multiple Y-axes are not supported. You must map timestamp data on X-axis only. You cannot change the chart type, nor can you add widget-level filters or assign dashboard-level filters to the widget.Also, ensure that Real Time Data Collector is installed and is up and running.
For more information, see Restarting Real Time Data Collector.
- If you want to set a background image for the widget, then ensure that the image is already available on your computer.
- To create specialized widgets such as multi-chart widgets, web widget, and a widget to list all the instances for a selected source and resource type, see Specialized widgets.
About this task
After you log in to the Dashboard Designer, you can create custom widgets or templates by using any of the following options on the landing page:
- Click CREATE COMPONENTS, then in the Create Components page, click WIDGETS.
- Click the Expand
icon to open the navigation pane of Dashboard Designer, and click .
You can add multiple data definitions to Area, Line, Bar, Columns, Bubble, Complex Gauge, Radar, and Scatter charts only. To all the remaining charts, you can add only one data definition.
If you want to save a widget as a template, then you must set data definition by using one or moreAPM, ICAM, or
ITM
Connector only. If you use JDBC, OMNIbus, CEM
Connectors, or a saved custom data definition in a widget, then you cannot save the widget as a
custom widget template.Procedure
Complete the following steps to create a custom widget:
Results
Real
Time Connector, then the widget displays the Real-time chart
- Custom widget name
- Custom widget category
- Name of the Engine instance to which the widget is published.
- Date and time when the custom widget was first created, and the username of the user who first created the custom widget.
- Date and time when the custom widget was last modified, and the username of the user who last modified the widget. Only the latest record is displayed.
What to do next
- Publish the custom widgets.
For more information, see Publishing custom widgets.
- Use custom widgets or widget templates in a dashboard.
For more information, see Creating a dashboard.
icon. Else,
icon to select a data source and its monitoring elements.
icon
to set the widget and chart properties.
icon, which is displayed on the upper-right of the widget.