All Products
Search
Document Center

Microservices Engine:Compare configuration contents

Last Updated:Apr 07, 2024

Microservices Engine (MSE) provides the configuration content comparison feature. You can compare the current configuration with other configurations. You can compare the configurations that correspond to different data IDs and group IDs for MSE instances or namespaces.

Compare the current configuration with other configurations

  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 Configuration Management > Configurations.

  5. On the Configurations page, find the configuration that you want to compare, and click 图标.png in the Actions column. In the list that appears, select Compare.

    You can filter configurations by namespace. You can also query configurations based on Group, Data ID, Application, or Tags.

  6. In the Comparison of Configuration Content dialog box, specify the Instance Name, Namespace, Group, and Data ID parameters in the Compare Configuration section, and click Compare.

    If the destination configuration does not exist, a message is displayed, indicating that the configuration does not exist. If the destination configuration exists, configuration differences are displayed in the Comparison of Configuration Content dialog box.

Compare the current configuration content with the configuration content in a historical version

  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 Configuration Management > Configurations.

  5. On the Configurations page, click the destination configuration.

  6. On the configuration details page, click the Historical Versions tab, and click Compare in the Actions column. In the Comparison of Configuration Content dialog box, view the configuration difference between the historical version and the current version.

    Current Version displays the configuration content of the selected historical version before the change. If you want to restore the latest configuration content to the configuration content before the change, click Roll Back in the Actions column.

References

You can also directly view the historical versions and search for the historical versions of a specified configuration. For more information, see View historical versions.