Creating a Dashboard
With a dashboard, different graphs (such as line graphs and digit graphs) are displayed on the same screen, so you can view metric data comprehensively.
You can add key resource metrics to a dashboard and monitor them in real time. You can also compare the same metric of different resources on one screen. In addition, you can add routine O&M metrics to a dashboard so that you can perform routine checks without re-selecting metrics when you open AOM again.
Precautions
- Preset dashboard templates are listed under System, including the container, cloud service, native middleware, and application templates. Preset dashboards cannot be deleted. Their groups cannot be changed. Dashboard templates cannot be created.
- Up to 1,000 dashboard groups can be created in a region.
- Up to 1,000 dashboards can be created in a region.
- A maximum of 30 graphs can be added to a dashboard.
- A maximum of 200 metric data records can be displayed in a line graph.
- A maximum of 12 resources can be added to a digit graph. Only one resource can be displayed. By default, the first resource is displayed.
Creating a Dashboard
- Log in to the AOM 2.0 console.
- In the navigation pane, choose Dashboard.
- Click next to Dashboard to create a dashboard group.
- Click Add Dashboard in the upper left corner of the list.
- In the displayed dialog box, set parameters.
Table 1 Parameters for creating a dashboard Parameter
Description
Dashboard Name
Name of a dashboard.
Enterprise Project
Enterprise project.
- If you have selected All for Enterprise Project on the global settings page, select one from the drop-down list here.
- If you have already selected an enterprise project on the global settings page, this option will be grayed and cannot be changed.
NOTE:
To use the enterprise project function, contact engineers.
Group Type
Options: Existing and New.
- Existing: Select an existing dashboard group from the drop-down list.
- New: Enter a dashboard group name to create one.
- Click OK.
Adding a Graph to a Dashboard
After a dashboard is created, you can add graphs to the dashboard:
- In the dashboard list, locate the target dashboard.
- Go to the dashboard page, and select the Prometheus instance for which you want to add a graph from the drop-down list.
- Go to the dashboard page. Click Add Graph or in the upper right corner to add a graph to the dashboard. For details about the graphs that can be added to the dashboard, see Graph Description. The data can be metric. Select a graph as required.
- Add a metric graph. Set parameters by referring to Table 2. Then click Save.
Table 2 Adding a metric graph Parameter
Description
Graph Name
Name of a graph to distinguish it from other graphs.
Data Source
Click Metric Sources and select metric data as the source.
Graph Type
Options: line, digit, top N, table, bar, and digital line.
Metric List
Add metrics as required. There are two ways to add metrics:
- All metrics: Select desire metrics from all metrics. When you select metrics in this mode, you can only enter English keywords to search and only English content is displayed.
- Prometheus statement: Enter a Prometheus command and select your target metric. For details, see Prometheus Statements.
Click Add Metric to add up to 100 metric data records.
NOTE:- When All metrics is selected, enter keywords to search for metrics.
- Condition: Metric monitoring scope. The condition is in the key-value pair format. Directly select an option from the drop-down list or use AND and OR to specify conditions for metrics.
- Group Condition: Aggregate metric data by the specified field and calculate the aggregation result. Options: Not grouped, avg by, max by, min by, and sum by. For example, avg by clusterName indicates that metrics are grouped by cluster name, and the average value of the grouped metrics is calculated and displayed in the graph.
Graph Settings
On the right of the page, click the down arrow, select a desired graph type from the drop-down list, and set graph parameters (such as the X axis title, Y axis title, and displayed value). For details about the parameters, see Metric Data Graphs (Line/Digit/Top N/Table/Bar/Digital Line Graphs).
Statistic
Method used to measure metrics. Options: Avg, Min, Max, Sum, and Samples.
Statistical Period
Interval at which metric data is collected.
The available statistical period options vary according to the time range you select. For details, see What Is the Relationship Between the Time Range and Statistical Period.
Time Range
Time range in which metric data is collected. Options: Last 30 minutes, Last hour, Last 6 hours, Last day, Last week, and Custom.
Refresh Frequency
Interval at which the metric data is refreshed. Options: Refresh manually, 30 seconds auto refresh, 1 minute auto refresh, and 5 minutes auto refresh.
- Add a metric graph. Set parameters by referring to Table 2. Then click Save.
- Click . The graph is successfully added to the dashboard.
More Operations
After a dashboard is created, you can also perform the operations listed in Table 3.
Operation |
Description |
---|---|
Setting column display |
Click in the upper right corner of the dashboard list and select or deselect the columns to display. |
Adding dashboards to favorites |
Locate a dashboard and click in the Operation column. |
Moving dashboards to another group |
|
Deleting a dashboard |
|
Changing a dashboard group name |
|
Deleting a dashboard group |
You can delete a dashboard using either of the following methods: Method 1:
Method 2: In the dashboard group list, locate the target dashboard group and choose > Delete. In the displayed dialog box, click Yes to delete the dashboard group. |
Deleting a graph from a dashboard |
|
Relocating a graph on a dashboard |
|
Full-screen display |
Click the target dashboard and click in the upper right corner of the dashboard page to view the dashboard in full screen. |
Exiting the full-screen mode |
Move the cursor to the upper part of the screen and click or , or press Esc on the keyboard. |
Manual refresh |
Click the target dashboard and click in the upper right corner of the dashboard page and manually refresh the current page. |
Auto refresh |
Click the target dashboard and click the arrow next to in the upper right corner of the dashboard page and enable auto refresh. |
Manually refreshing a graph |
Click the target dashboard, move the cursor to the upper right corner of a graph, and choose > Refresh to manually refresh the graph. |
Modifying a graph |
|
Adding alarm rules |
|
Displaying a graph in full screen |
Click the target dashboard, move the cursor to the upper right corner of a graph, and choose > Full Screen. |
Exiting the full-screen mode |
Move the cursor to the upper part of the screen and click , or choose > Exit Full Screen, or press Esc on the keyboard to exit the full-screen mode. |
Rotating dashboards |
Click a target dashboard and click in the upper right corner of the dashboard details page. Set full-screen display by referring to Setting the Full-Screen Online Duration. |
Setting a dashboard |
Click a target dashboard and click in the upper right corner of the dashboard details page. For details, see Adding Variables. |
Setting the query time |
Select the target dashboard. In the upper right corner of the dashboard page, click the time range next to and select Last 30 minutes, Last hour, Last 6 hours, Last day, Last week, or Custom from the drop-down list. If you select Custom, select a time range in the calendar that is displayed. The time can be accurate to seconds. Then click OK, so that you can query data in the dashboard based on the selected time range. |
Exporting a dashboard |
Export the metric graph data of a dashboard in JSON format and save it to your local PC for further analysis. You can export a dashboard using either of the following methods: Method 1: In the dashboard list, locate a dashboard, and choose > Export Dashboard in the Operation column. Method 2: Click a dashboard to go to its details page and choose > Export Dashboard in the upper right corner. |
Importing a dashboard |
Import the dashboard data in JSON format from a local PC to AOM for analysis. You can import a dashboard using either of the following methods: Method 1: On the Dashboard page, click Import Dashboard. Method 2: In the dashboard group list, locate the group to which the dashboard is to be imported, and choose > Import Dashboard. Procedure:
|
Exporting a monitoring report |
Click a dashboard to go to its details page. Then click in the upper right corner, and choose Export Line Graph Report to export a CSV file to your local PC. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot