tencent cloud

Feedback

Template Variables

Last updated: 2022-08-25 18:07:30

    This document describes how to configure and use template variables.

    Configuring a template variable

    1. Log in to the CM console.
    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

    1. Log in to the CM console.
    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.
      (1) Select the template variable and corresponding template in the Create Monitoring Chart or Edit Monitoring Chart column.

      (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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support