Updated on 2024-09-23 GMT+08:00

Viewing MRS Cluster Resource Monitoring Metrics

MRS cluster nodes are classified into management nodes, control nodes, and data nodes. The change trends of key host monitoring metrics on each type of node can be calculated and displayed as curve charts in reports based on the customized periods. MRS cluster metrics are monitored periodically. The average historical monitoring interval is about 5 minutes.

You can view the overall resource overview of a cluster on the MRS management console or Manager.

Prerequisites

  • The IAM users have been synchronized in advance. You can do this by clicking Synchronize next to IAM User Sync on the Dashboard page of the cluster details.
  • You have logged in to MRS Manager. For how to log in, see Accessing MRS Manager.

Viewing Monitoring Information on the MRS Management Console

  1. Log in to the MRS console.
  2. On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
  3. On the Dashboard tab, click Synchronize next to IAM User Sync to synchronize IAM users.
  4. After the synchronization is complete, click the Monitor tab to view the monitoring metric report of the cluster.
  5. In time range area, specify a period to view monitoring data.
  6. Customize a monitoring report.

    1. Click Customize and select monitoring metrics to display.
    2. Click OK to save the selected monitoring metrics for display.

      Click Clear All to deselect all selected metrics in batches.

  7. Export a monitoring report.

    1. Select a period.
    2. Click Export. MRS will generate a report about the selected monitoring metrics in a specified time range. Save the report.

Viewing Monitoring Information on Manager (MRS 3.x and Later)

  1. Log in to Manager.
  2. Choose Homepage.
  3. In the upper right corner of the chart area, click and choose Customize from the displayed menu.

    Monitoring data of the past 1 hour is displayed at an interval of 5 minutes. After you enter the Real-time Monitoring page, you can view that real-time monitoring data is displayed on the right of the monitoring chart at an interval of 5 minutes.

  4. In the navigation pane, select an entity and some monitoring metrics.
  5. Click OK to view the metric details.
  6. Export a monitoring report.

    • Exporting all monitoring data
      1. On the Homepage, select a time range in the upper right corner of the chart area, for example, 1w.

        Real-time data is displayed by default, which cannot be exported. You can click to customize a time range.

      2. In the upper right corner of the chart area, click and choose Export from the displayed menu.
    • Exporting monitoring data of a specified monitoring item
      1. On the Homepage, click in the upper right corner of any monitoring report pane in the chart area of the target cluster.
      2. Select a time range to obtain monitoring data, for example, 1w.

        Real-time data is displayed by default, which cannot be exported. You can click to customize a time range.

      3. Click Export.

      The interval on the horizontal axis of the chart varies depending on the time period you specify. Data monitoring rules are as follows:

      • If the disk usage of the partition where GaussDB is deployed exceeds 80%, real-time monitoring data and monitoring data whose interval is 5 minutes will be deleted.
      • Storage resources (HDFS) in Tenant Resources (0 to 300 hours): The interval is 1 hour. The cluster must have been installed for at least 1 hour, and monitoring data of a maximum of 3 months is saved.
      • 0 to 25 hours: The interval is 5 minutes. The cluster must have been installed for at least 10 minutes, and monitoring data of a maximum of 15 days is saved.
      • 25 to 150 hours: The interval is 30 minutes. The cluster must have been installed for at least 30 minutes, and monitoring data of a maximum of 3 months is saved.
      • 150 to 300 hours: The interval is 1 hour. The cluster must have been installed for at least 1 hour, and monitoring data of a maximum of 3 months is saved.
      • 300 hours to 300 days: The interval is 1 day. The cluster must have been installed for at least 1 day, and monitoring data of a maximum of 6 months is saved.
      • Over 300 days: The interval is 7 days. The cluster must have been installed for more than 7 days, and monitoring data of a maximum of 1 year is saved.

Viewing Monitoring Information on Manager (MRS 2.x and Earlier)

  1. Log in to Manager and click System.
  2. In Period, you can specify a period to view monitoring data. The options are as follows:

    Real-time, last 3 hours, last 6 hours, last 24 hours, last 1 week, last 1 month, last 3 months, last 6 months, and custom time range

  3. Click View to view monitoring data in a specified period.

    • You can view Health Status and Roles of each service on the Service Summary page of MRS Manager.
    • Click above the curve chart to view details about a metric.

  4. Customize a monitoring report.

    Click Customize and select monitoring metrics to be displayed on MRS Manager. Click OK to save the selected monitoring metrics for display. Click Clear to cancel all the selected monitoring metrics in a batch.

    MRS Manager supports a maximum of 14 monitoring metrics, but at most 12 customized monitoring metrics can be displayed on the page.

  5. Set an automatic refresh interval or click for an immediate refresh. If you select Full Screen, the Dashboard window will be maximized.

    The following refresh interval options are supported:

    • Refresh every 60 seconds
    • Refresh every 120 seconds
    • Stop refreshing

  6. Export a monitoring report.

    Select a period. Click Export. MRS Manager will generate a report about the selected monitoring metrics in a specified time of period. Select a directory to save the report.

    To view the curve charts of monitoring metrics in a specified period, click View.

    You can query top, bottom, and average value curves for key service and host monitoring metrics on MRS Manager, which displays resource distribution information. MRS Manager also shows monitoring data for the last hour.

    You can also modify the resource distribution on MRS Manager to display both the top and bottom value curves in service and host resource distribution figures.

    Resource distribution of some monitoring metrics is not recorded.

    • View the resource distribution of service monitoring metrics.
      1. On MRS Manager page, click Services.
      2. Select the target service from the service list.
      3. Click Resource Distribution.

        Select key metrics of the service from Metric. MRS Manager displays the resource distribution of the metrics in the last hour.

    • View the resource distribution of host monitoring metrics.
      1. On MRS Manager, click Hosts.
      2. Click the name of the specified host in the host list.
      3. Click Resource Distribution.

        Select key metrics of the host from Metrics. MRS Manager displays the resource distribution of the metrics in the last hour.

    • Configure resource distribution.
      1. On MRS Manager, click System.
      2. In Configuration, click Configure Resource Contribution Ranking under Monitoring and Alarm.
      3. Change the number of resources to be displayed. The sum of the maximum value and minimum value of resource distribution cannot be greater than 5.

        Set Number of Top Resources to the number of top values.

        Set Number of Bottom Resources to the number of bottom values.

      1. Click OK to save the configurations.

        The message "Number of top and bottom resources saved successfully" is displayed in the upper right corner of the page.