All Products
Search
Document Center

Microservices Engine:View data tracks

Last Updated:Jan 18, 2024

When you use a Microservices Engine (MSE) ZooKeeper instance, you may encounter znode changes. After a znode changes, troubleshooting becomes difficult if the related client does not receive the change event pushed from the instance. In this case, you can use the ZooKeeper data tracking feature to improve the troubleshooting efficiency. This topic describes how to view data tracks of an MSE ZooKeeper instance.

Prerequisites

A ZooKeeper engine in a version of V3.8.0.2 or later is created. For more information about how to create a ZooKeeper engine, see Create a ZooKeeper engine. For more information about how to upgrade the engine version, see Upgrade a ZooKeeper version.

Procedure

  1. Log on to the MSE console and select a region in the top navigation bar.

  2. In the left-side navigation pane, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the instance.

  4. In the left-side navigation pane, choose Data Management > Data Tracks.

  5. Select a query dimension and enter the path of the znode or client session ID in the field on the right. Select a time range based on your business requirements, and click Query to view data push records.

    • If you select Path from the query dimension drop-down list, the znode change records, the machine to which the records are pushed, and push status are queried. In the Change Event section on the left, click a configuration release time point to navigate to the details of the change event in the Changes and Push Events section. Then, you can view the change event details.

      For a change event, the event type of the change is displayed. For a push event, the push time and the session ID of the client to which the event is pushed are displayed.

    • If you select Session ID from the query dimension drop-down list, the session information, change records, and push records are displayed.

      Parameter

      Description

      Changed At

      The time when the znode changed.

      SessionId

      The session ID of the client.

      Event

      The operation type of the znode.

      Path

      The path of the znode.

      Details

      • Click the 信息 icon to view the details of the change event.

      • Click the 跳转 icon to switch to the dimension query entry to query the push events during the specified period of time.