Overview Chart¶
Introduction¶
The overview chart clearly displays the result values of an metric and supports the display of line blends to help users understand the trend of the metric.
Use Case¶
The overview graph of the Guance is used to display the resultant values of a metric. For example, you can view the CPU usage for the last 15 minutes.
Chart Search¶
Chart query supports 「simple query」, 「expression query」 and 「DQL query」. Please click chart-query for detailed explanation of chart query conditions.
Note:
- Single chart query only supports one query statement, the default is 「simple query」, click 「convert to expression query」 to switch to expression query, and use simple query as "query A", and support switching each other.The 「DQL query」 also applies to switching between each other.
- If a conversion function that is not supported by 「expression query」 is used in 「simple query」, the function will not be brought to the expression query after switching.
Chart Links¶
Links can help you realize jumping from the current chart to the target page, support adding platform internal links and external links, support modifying the corresponding variable values in the links through template variables to transfer data information over and complete data linkage.Please click chart-link for setting instructions.
Chart Style¶
Options | Description |
---|---|
Chart Title | Set the title name for the chart, after setting, it will be displayed on the top left of the chart, and it supports hiding |
Color | Set the font color and background color of the chart |
Chart Setup¶
Basic Settings¶
Options | Description |
---|---|
Data Accuracy | Select the number of decimal places to keep |
Unit | 1.Support setting units for query results. 1)If the queried data has no unit, after setting the unit in the chart, it will be displayed on the chart according to the set unit 2)If the query data comes with its own units, or if you are in [Metric Management] (../../metrics/dictionary.md), and you set the units for the metrics in the chart, the units set in the chart will be displayed on the chart. 3)If the queried data has no units and no units are set in the chart, the chart Y-axis values are automatically calculated according to scientific notation.Show raw values on the chart in thousandths format。 Scientific counting instructions Default query result value is automatically converted to units, display follows 「scientific notation K, M, B」 (1 thousand = 1K, 1 million = 1M, 1 billion = 1B), retaining two decimal points; RMB is automatically converted to units 「yuan, million, billion」, retaining two decimal points For example, if the unit of time interval is selected as ns, then according to the size of the data, the query result will only automatically convert the unit effect as follows, and so on: 2.Support for query results preset units, manual input format: aggregation function (metric), such as last(age_idle) |
Value Mapping | When setting value mapping, neither 【Show as】 nor 【Color】 is mandatory/required: - 【Show as】 is empty by default, which means no mapping value is displayed - 【Color] 】s empty by default, that is, no color mapping to show its original color |
Advanced Settings¶
Options | Description |
---|---|
Time slice | When time slicing is turned on, the original data will be aggregated in segments at certain time intervals, and then the aggregated data set will be aggregated a second time to get the result value, which is turned off by default. For details, please refer to time slicing description |
Lock time | Supports locking the time range of the chart query data, not limited by the global time component.After successful setup, the time set by the user will appear in the upper right corner of the chart, such as 【xx minutes】, 【xx hours】, 【xx days】. If the time interval of 30 minutes is locked, then when adjusting the time component, no matter what time range view is queried, only the last 30 minutes of data will be displayed. |
Time interval | 若Time slice off, no time interval option, if time slice on, time interval option as follows: |
Comparison of the same period | Compare with data from the previous same time. The default display is off. When the contemporaneous comparison is turned on, the comparison dimension supports 4 options: hourly (compare with one hour ago), daily (compare with one day ago), weekly (compare with one week ago), and monthly (compare with one month ago).Only single support, refer to time comparison for details |
Collapsed Hybrid Chart | |
Chart Description | Add description information for the chart, after setting the chart title will appear behind the 【i】 prompt, not set, it will not be displayed |
Workspace | A list of authorized workspaces, which can be queried and displayed via charts after selection |
Example diagram¶
The graph below shows the last 15 minutes of memory usage.