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, Cloud App Management, and ITM, then you must ensure that the
custom data definitions for those data sources are created.
For more information about creating custom data definition, see Creating a custom data definition.
- Ensure that the custom filters that you want to set for a widget are already created.
- 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 custom 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 time stamp 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 left navigation pane of Dashboard Designer, and click .
APM, ITM,
ICAM, or JDBC Connector you can add Cloud APM, ITM, Cloud App Management, and third-party data sources
that support JDBC interface to a single widget. Similarly, by using custom data definitions, you can
add multiple JDBC supported third-party queries, Cassandra database queries, MongoDB queries, and
REST API custom queries to a single widget.You can add multiple data definitions to Time Series, Bar, 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 Connector 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 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 that is displayed on the upper-right of the widget.