(New) Creating a Dashboard
With a dashboard, different graphs are displayed on the same screen, so you can view metrics comprehensively.
Constraints
- Old dashboards are incompatible with the graph configurations of new dashboards.
- However, new dashboards are compatible with the graph configurations of old dashboards.
Procedure
- Log in to the AOM 2.0 console.
- In the navigation pane on the left, choose Dashboard > Dashboard. Click Try New Version in the upper right corner of the page.
- 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. Enter a maximum of 255 characters. The following special characters are not allowed: "$# %&'+;<=>?\
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 dimmed and cannot be changed.
- 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. Enter a maximum of 255 characters. The following special characters are not allowed: "$# %&'+;<=>?\
- 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 (New) Graphs. The data can be metric or log data. Select a graph type as required.
- Adding a metric graph: Set parameters by referring to Table 2 and click Save.
Table 2 Adding a metric graph Parameter
Description
Graph Name
Name of a graph to distinguish it from other graphs. For graph names, variables can be added to dynamically filter graph information. Duplicate names are supported.
Enter a maximum of 255 characters. The following special characters are not allowed: "$# %&'+;<=>?\
Data Source
The default value is Metric Sources.
Graph Type
Options: line, digit, top N, table, bar, and digital line.
How to Add
Add metrics as required. You can select metrics from All metrics or using Prometheus statements.
All metrics
Select target metrics from the metric drop-down list.
- Calculation method:
- Multiple Metrics: Performs calculation for metrics and their conditions separately, and displays the results on the graph.
- Combined Operations: Performs calculation on multiple metrics and their conditions based on expressions, and displays the results on the graph.
- Metric: Select a target metric from the drop-down list. You can also directly enter a metric name in the search box and click Generate. If no metric is reported, configure one.
- Statistical Period: Interval at which metric data is collected. The statistical periods that are available for you to select vary according to the time range.
For details, see Relationship Between the Time Range and Statistical Period. If you use new dashboards, see Relationship between the time range and statistical period.
- Condition: Metric monitoring scope. Each metric condition is in "key:value" format and can be selected from the drop-down list. You can also enter a dimension name and value, and click Generate to add a metric condition. You can also click
and select AND or OR to add more conditions for the metric.
- 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.
- Formatted Legend Name: Use a fixed name or variable as the legend name.
- Format: {{dimension name}}.
- If the displayed legend name is {{dimension name}}, there is no dimension. For example, enter {{hostname}} and a host name will be displayed as the legend name.
- Tables and digit/line graphs do not support Formatted Legend Name.
You can click Add Metric to add more metrics. A maximum of 100 can be added.
Prometheus statement
Add metric data by entering a Prometheus statement related to the metric.
- Prometheus Statement: See Prometheus Statements.
- Formatted Legend Name: Use a fixed name or variable as the legend name. If the displayed legend name is {{dimension name}}, there is no dimension. Format: {{dimension name}}. For example, enter {{hostname}} and a host name will be displayed as the legend name.
You can click Add Prometheus Statement to add up to 100 metrics.
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.
If you create a dashboard of the new version, see Metric Data Graphs.
Statistic
Method used to measure metrics. Options: Avg, Min, Max, Sum, and Samples.
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.
If you use new dashboards, you can select From now, From last, and Specified.
- From now: queries data generated in a time range that ends with the current time, such as the previous 1, 5, or 15 minutes. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from now, the graphs on the dashboard display the data that is generated from 18:20:31 to 19:20:31.
- From last: queries data generated in a time range (on the hour) that ends with the current time, such as the previous 1 or 15 minutes. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from last, the graphs on the dashboard display the data that is generated from 18:00:00 to 19:00:00.
- Specified: queries data that is generated in a specified time range.
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.
- Calculation method:
- Adding a metric graph: Set parameters by referring to Table 2 and click Save.
- Click Save. 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
|
Adding dashboards to favorites |
In the dashboard list, locate a dashboard and click Add to Favorites 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 through either of the following entries: Entry 1:
Entry 2: In the dashboard group list, locate the target dashboard group and choose |
Deleting a graph from a dashboard |
|
Relocating a graph on a dashboard |
|
Full-screen display |
Click a dashboard in the dashboard list to access the dashboard page. In the upper right corner, click |
Exiting the full-screen mode |
Move the cursor to the upper part of the screen and click |
Manual refresh |
Click a dashboard in the dashboard list to access the dashboard page. In the upper right corner, click |
Auto refresh |
Click a dashboard in the dashboard list to access the dashboard page. In the upper right corner, click the arrow next to |
Manually refreshing a graph |
Click the target dashboard, move the cursor to the upper right corner of a graph, and choose |
Modifying a graph |
|
Adding alarm rules |
|
Rotating dashboards |
Click a dashboard in the dashboard list to access the dashboard page. In the upper right corner, click |
Setting a dashboard |
Click a dashboard in the dashboard list to access the dashboard page. In the upper right corner, click |
Setting the query time |
Click a dashboard in the dashboard list to access the dashboard page. In the upper right corner, click the time selection box to set a time range to query. Options: From now, From last, and Specified.
|
Exporting a dashboard |
Click a dashboard in the dashboard list to access the dashboard page. In the upper right corner, click |
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 a target dashboard group and choose Procedure:
|
Exporting a monitoring report |
Click a dashboard to go to its details page. Then click |
Copying a dashboard |
|
Setting a dashboard group |
|
Relationship Between the Time Range and Statistical Period (for New Dashboards)
In AOM, a maximum of 1440 data points can be returned for a single metric query. The relationship between the time range and statistical period is as follows:
Maximum time range = Statistical period × 1,440
If you select a time range shorter than or equal to the maximum time range, all the statistical periods that meet the preceding formula can be selected. For example, if you want to query metrics in the last hour, the available statistical periods are 1 minute, and 5 minutes.
For a dashboard, the relationship between the time range and statistical period is shown in the following table.
Type |
Time Range |
Statistical Period |
---|---|---|
From now |
1 minute |
1 minute or 5 minutes |
5 minutes |
||
15 minutes |
||
30 minutes |
||
1 hour |
||
4 hours |
1 minute, 5 minutes, 15 minutes, or 1 hour |
|
1 day |
||
Today |
||
1 week |
1 hour |
|
This week |
||
30 days |
||
This month |
||
Specified |
1 minute, 5 minutes, 15 minutes, or 1 hour |
|
From last |
1 minute |
1 minute or 5 minutes |
15 minutes |
||
30 minutes |
||
1 hour |
||
4 hours |
1 minute, 5 minutes, 15 minutes, or 1 hour |
|
1 day |
||
1 week |
1 hour |
|
30 days |
||
Today |
1 minute, 5 minutes, 15 minutes, or 1 hour |
|
Yesterday |
||
Two days ago |
||
This week |
1 hour |
|
Last week |
||
This month |
||
Last month |
||
Specified |
1 minute, 5 minutes, 15 minutes, or 1 hour |
|
Custom |
Custom |
1 minute, 5 minutes, 15 minutes, or 1 hour |
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