This document describes how to configure and use template variables.
Configuring a template variable
2. On the left sidebar, click Dashboard List to enter the dashboard list page.
3. In the top-left corner of the dashboard list, click Create to enter the dashboard creation page.
4. Click ** or click Set on the dashboard list page to enter the global dashboard configuration page. 5. Click Template Variable. You can customize dashboard filters and use template variables on the dashboard management page as instructed in Using a template variable. Currently, you can filter by tags of CVM - basic monitoring, storage monitoring, and TencentDB for MySQL source/replica server monitoring. 6. Click Create on the dashboard management page, configure parameters, and click OK to create a template variable.
Editing or deleting a template variable
You can delete and edit template variables in the template variable list.
Using a template variable
2. On the left sidebar, click Dashboard List to enter the dashboard list page.
3. Find the target dashboard and click its name.
4. After creating a template variable, you can use it as a quick selector of dashboards and monitoring charts.
4.1 Select the template variable and corresponding template in the Create Monitoring Chart or Edit Monitoring Chart column.
4.2 After successfully binding the template variable, you can use the instance filter in the dashboard for the chart to quickly filter instances.
The chart bound to the template variable can be linked with the instance filter for you to quickly filter instances and view the instance monitoring data under the product type.
Was this page helpful?