tencent cloud

Feedback

Creating Metric

Last updated: 2024-01-27 17:45:42
    This document describes how to create and edit a metric when creating a monitoring chart.

    Creating Metric

    2. Switch to the target dashboard to enter the dashboard management page.
    3. Click
    
    > Create Chart to enter the chart editing page. Configure the metric information as follows:
    Select Monitoring Type: select basic monitoring or custom monitoring metrics.
    Metric: select the product type and metric.
    Filter: select a filter to extract the data that meets the criteria for display on the chart.
    Instance: the chart will display the monitoring data of the selected instances.
    Tag: the chart will display the instances to which the tag is bound. For more information on how to set and use tags, please see Using Tag and TopN Features to Automatically Monitor Cloud Resources in Batches.
    Note:
    The dashboard tag feature currently is only available for CVM’s basic monitoring and will be supported for more Tencent Cloud services in the future.
    Template Variable: the chart will display the instances filtered by the template variable. For more information on how to configure template variables, please see Template Variables.
    Group by (this feature is not available for the tag filter): similar to the Group By feature of SQL, this feature can group data based on specified tags and then aggregate data according to aggregation algorithms. If you don't select a tag, you can customize the metric statistical mode for the statistical period, which can be avg, max, min, or sum.
    Comparison: day-over-day (compare with the same period yesterday), week-over-week (compare with the same period last week), and custom time comparisons are supported. If you select all the comparison options, the chart will display the day-over-day and week-over-week monitoring curves for the selected instance, making it easier for you to compare the data.
    Left Y-axis/Right Y-axis: you can choose to place the Y-axis on the left or on the right.
    Additional configuration items.
    Alias: you can configure an alias for all instances quickly. To configure different aliases for different instances, you can create multiple metrics and enter an alias under each metric.
    Enable Sorting: the instances bound to the chart will be sorted according to the configured sorting rule and displayed quantity, making it easier for you to monitor the loads of machines in batches.
    Sorting Rule: you can sort metrics in a variety of ways and filter instances according to the sorting result.
    Displayed Quantity: it denotes the number of instances to be displayed. For example, if you set the sorting rule to "MAX; DESC" and the displayed quantity to 10, the chart will display the top 10 instances by the maximum value in descending order.
    
    
    4. After configuring the settings, click
    
    .

    Creating multiple metrics and copying metrics

    You can click Create Metric or
    
    to display multiple metrics on the same chart for cross-instance metric data comparison.

    Sorting metrics

    You can click the
    
    icon to adjust the sorting of metrics.

    Editing Metric

    2. Switch to the target dashboard to enter the dashboard management page.
    3. Find the monitoring chart to be edited and click
    
    .
    4. Click Edit in the pop-up window to enter the chart editing page.

    Deleting Metric

    2. Switch to the target dashboard to enter the dashboard management page.
    3. Find the monitoring chart to be edited and click
    
    .
    4. Click Edit in the pop-up window to enter the chart editing page, and click
    
    next to the corresponding metric.
    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