This topic explains how to create and edit an interactive dashboard.
In the left-side navigation pane of the ARMS console, choose Dashboards and go to the Dashboards page. All interactive dashboards are displayed.
An interactive dashboard consists of the navigation tree, control operation zone, tab bar, and dataset presentation modules. The following figure shows a complete interactive dashboard.
- [A] Controls operation zone: You can operate controls including the navigation tree, charts, and text, and select time in this zone.
- [B] Tabs: You can add different tabs to group charts. For example, to show statistics of PV and UV operations on Nginx pages, and also the statistics of error return codes on these pags, you can use different tabs to hold the data.
- [C] Navigation tree: You can set a navigation tree with up to three levels. Drill down level by level and click a query dimension to display the relevant data in the right-side dataset presentation module. The navigation tree is either generated automatically by ARMS based on user data, or manually imported in JSON format.
- [D] Data presentation zone: the core module of the interactive dashboard. In this zone, all data charts under different tabs are displayed based on the selected navigation tree dimension and time range, and multiple tabs can be added.
In the left-side navigation pane of the ARMS console, choose Dashboards.
In the upper-right corner of the Dashboards page, click Create Dashboard.
In the Create Dashboard dialog box, enter the interactive dashboard name, and click OK. A blank interactive dashboard is created.
A new interactive dashboard is blank, so you must edit it to add your content.
Step 1: Add a dataset
On the Dashboards page, click Edit on the row of the target dashboard and go to the editing page.
In the upper-right corner, click Interactive Control and choose Custom Monitoring Chart.
In the Create Interactive Chart dialog box, enter the Chart Name. In the Datasets drop-down list, select a dataset. As shown in the following figure, you can select more than one datasets. Select Area fromChart Type and click OK.
Dataset: Select datasets to be presented on the dashboard. The input box in the drop-down list supports fuzzy search.
Dimension: After you select a dataset, the relevant dataset dimension are loaded. The loaded dimensions vary with the types of datasets. If you configure a common dataset, you can select optional and required dimensions here. If you configure a drill-down dataset, you must select multiple drill-down dimensions to present your data.
NOTE: Due to the interrelationship between drill-down dimensions, you must configure a first dimension before you can configure a second dimension. For more information about the advanced use of dimensions, see Step 3: Associate a dataset with a navigation tree of this topic.
Metrics: Select some source metrics in a dataset.
Chart Type: Select a chart type.
Advanced Options: Click Advanced Options to show more advanced options for the chart, such as adjusting the margins of the chart, selecting different colors for different dimensions and metrics, adjusting the post-aggregation mode (which is valid during downsampling due to too many data points in the chart and Top N sorting), setting the TopN fields, and querying the policy.
Time Granularity: Configure the interval of presented charts.
Time Globally Controlled: When Enable is selected, it indicates that the time span of the presented data in the chart is consistent with the global chart. When Disable is selected, the configuration of this chart is independent.
The area chart is displayed in the dataset presentation module.
Step 2: Add a navigation tree
On the dashboard page, click Interactive Control in the upper-right corner and choose Navigation Tree Control. The Navigation Tree dialog box is displayed. You can choose if this navigation tree is applied to all tabs or specified tabs.
Enter a Name and select a Dataset Type and a Dataset. The multi-dimension traversal value of the dataset is automatically imported to the Data textbox. Click OK. The navigation tree is displayed on the left side of the page.
Step 3: Associate a dataset with a navigation tree
Find the target chart in the dataset presentation module of the dashboard, and click the gear icon. The Edit Interactive Chart dialog box is displayed.
NOTE: Make sure that the chart and navigation tree to be presented share a common dataset.
In the Dimension column, set the type to Navigation Tree, and select the dimension of the navigation tree from the drop-down list on the right. Click OK. The dimension of the dataset has been associated with that of the navigation tree.
Step 4: View the presented dataset
Select any dimension in the navigation tree to view the related data presented in the dataset presentation zone.
Step 5: View data in different periods in the dataset presentation zone
In the time picker, select Today, This Week, This Month*, Last 5 Minutes, or Last 10 Minutes**, or manually select the start time and end time, to view the data in different periods.
Step 6: Save the interactive dashboard
After you configure an interactive dashboard, click Save in the upper-right corner to save the configuration. In addition, the system automatically saves the configuration every 10 seconds to avoid losing the data being edited.
Tip: You can flexibly change the size and position of the charts in an interactive dashboard.
Change the size of a chart
Drag the lower right corner of a chart to resize it.
Change the position of a chart
Drag a chart to move it around, and drop to determine the final position.