All Products
Search
Document Center

Monitoring Service Overview

Last Updated: Oct 25, 2019

Monitoring service overview

The monitoring service of Alibaba Cloud BaaS relies on Cloud Monitor and provides users with multiple features, including default monitoring features and alert rule configurations. The monitoring service of Alibaba Cloud BaaS supports monitoring data display and alert features for consortium instances and organization instances.

Activate the monitoring service

  1. Log on to the Alibaba Cloud BaaS console.

  2. Select an instance in the console to go to the corresponding details page.Overview

  3. If no monitoring group is available, the Open Monitoring button is displayed. Click the button, and the system automatically creates monitoring groups.Activate the monitoring service

  4. The system must obtain relevant cloud monitoring permissions before it creates monitoring groups for you. If the authorization check fails, you need to authorize the system.Authorization

  5. After you have authorized the system, go back to the details page of the instance and click Open Monitoring. After the service is activated, the button changes to Monitoring. Click the button to go to the monitoring page of the instance.Monitoring

Cloud Monitor service integration

After you click Open Monitoring, the system automatically creates an application group named blockchain-baas and writes the monitoring items of each BaaS instance to the application group.

Monitoring groups

Groups

View monitoring information

Monitoring metric rules:

Alibaba Cloud BaaS provides basic monitoring metrics for instances and channels. In the default monitoring chart, the definition rules for monitoring metrics are as follows:Monitoring metric - aggregation method - instance type - instance name - resource item name

The descriptions of definition rules are as follows:

  • For more information about monitoring metrics, see Monitoring metrics
  • Aggregation method: the aggregation method of monitoring metrics in the monitoring chart. The aggregation time is 60 seconds.
  • Instance type: supports orderer (Consortium) and Peer (Organizations).
  • Instance name: the name of the instance specified when the consortium or organization instance was created.
  • Resource item: the resource item corresponding to the monitoring metrics. The monitoring metrics include orderer nodes, peer nodes, and channels.

Example:

The number of transactions broadcast by the orderer node:Metric rules

The monitoring metric Orderer BroadcastTransactionCounter-Sum-Ug-BaaSOrg-orderer1-monitor refers to the number of transactions broadcast by the orderer1 node per minute in the monitor channel of the BaaSOrg instance.

View the monitoring information of the instance dimension

In the Dimensions section, select Instance. In the drop-down box, select the corresponding Instance to view the monitoring information of the instance.

The instance dimension

View the monitoring information of the channel dimension

In the Dimensions section, select Component. Select the correspondingComponent to view the monitoring information of each channel in the component.![The channel dimension

Custom charts

In addition to the monitoring charts created by the monitoring service of Alibaba Cloud BaaS, you can also create your own monitoring charts based on Alibaba Cloud BaaS monitoring metrics.

  1. In the blockchain-baaS service group, click CustomchartCustom monitoring

  2. Click Add Monitoring Chart, enter the name of the monitoring chart on the page, and then select the monitoring metrics and aggregation methods. Select the monitoring resources related to this chart, and then click Save.Configurations

  3. After the custom monitoring is saved, you can view the configured monitoring chart in Customchart.Show

Configure alert items

In some key services, you can add alert rules based on your business requirements. The monitoring service of Alibaba Cloud BaaS will send an SMS notification to the cloud account contact when the monitoring metric reaches the alert threshold.

  1. In the blockchain-baas application group, click Alarm Rules in the lower-right corner of the page to create an alert rule.Create alarms

  2. Enter the rule name, select the monitoring metric, and fill in the alert threshold.Set rules

  3. Set the notification method, including the notification object and the effective time.Add alarms

    Note: Before you add the alerts, you must create an Alarm contact group

  4. After you add the alert, you can see the alert rules that are in effect.Alarm display