Template Variables

Last updated: 2020-10-30 12:03:13

    This document describes how to configure and use template variables.

    Configuring Template Variables

    1. Log in to the Cloud Monitor console.
    2. In the left sidebar, click Dashboard > Dashboard List to go to the dashboard list page.
    3. In the upper-left corner of the dashboard list page, click Create to go to the management page for creating a dashboard.
    4. Click > Template Variables.
    5. Click Template Variables. You can customize dashboard filter conditions and use template variables on the dashboard management page. For more information, see Using Template Variables. Currently, filtering by the labels of CVM - basic monitoring, storage monitoring, and TencentDB for MySQL primary/standby server monitoring is supported.
    6. Create template variables. Click Create. After configuring the template variables, click OK.

    Editing and Deleting Template Variables

    You can delete and edit template variables in the template variable list.

    Using Template Variables

    1. Log in to the Cloud Monitor console.
    2. In the left sidebar, click Dashboard > Dashboard List to go to the dashboard list page.
    3. Find the dashboard where the template variables you want to view are located and click the corresponding dashboard name.
    4. After creating a template variable, you can use it as a quick selector of dashboards and monitoring charts.
      • Using it in dashboards: on the dashboard management page, you can use template variables to filter the displayed data of the dashboard.
      • Using it in monitoring charts: on the chart editing page, you can select labels to quickly group and aggregate instance data for display.

        Note:

        If you need to edit a monitoring chart, please see Editing Metrics.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help