You can monitor canary traffic to ensure a successful canary release, and monitor the traffic of applications and instances.

Background information

You can monitor the canary traffic of a single application and the canary traffic of multiple applications from end to end.

Monitor the canary traffic of a single application

You can perform a canary release for a single application by application instance group. After the canary release is complete, you can monitor the traffic of the application and instance. The following procedure describes how to monitor the traffic.

  1. Log on to the EDAS console.
  2. In the left-side navigation pane, click Applications.
  3. On the Applications page, click an application for which the canary release has been performed.
  4. On the page that appears, click the Instance Information tab. Then, click Traffic Monitoring in the right of the application instance group.
  5. In the Traffic Monitoring dialog box, select Instance Perspective or Service Perspective. Then, select the start time and end time for monitoring in the date and time picker.
  6. Monitor the traffic of the application.
    • Instance Perspective: On the Overview tab, you can view the upstream and downstream traffic, response time, number of requests, and number of errors of the application and instance. You can select an application or an instance to monitor in the left-side list. EDAS also supports other common monitoring features, such as JVM monitoring, host monitoring, and interface snapshot. For more information, see JVM monitoring, Host monitoring, and Memory snapshot.

    • Service Perspective: On the Overview tab, you can view the upstream and downstream traffic, response time, number of requests, and number of errors of a service provided by the application. You can select a service to monitor in the left-side list. EDAS also supports other common monitoring features, such as interface snapshot. For more information, see Memory snapshot.

Monitor end-to-end canary traffic

If a canary release involves multiple applications, it is performed based on the throttling environment. After the canary release is complete, you can monitor the traffic of each application in the throttling environment. To monitor end-to-end canary traffic, perform the following steps:

  1. Log on to the EDAS console.
  2. In the left-side navigation pane, choose Microservices Governance > HSF. In the navigation tree of HSF, click End-to-end Traffic Adjustment.
  3. On the End-to-end Traffic Adjustment page, select a namespace and click the name of the throttling environment.
  4. On the page that appears, click the Monitoring Details tab.
  5. On the Monitoring Details tab, select an application from the Gray Environment Application drop-down list, and select a monitoring perspective (Instance Perspective or Service Perspective). Then, select the start time and end time for monitoring in the date and time picker.
  6. Monitor the canary traffic of a specific application in the throttling environment.

    The canary traffic data of a specific application is consistent with the data collected during the monitoring of a single application. For more information, see Monitor the canary traffic of a single application.