All Products
Search
Document Center

Microservices Engine:Query services

Last Updated:Feb 27, 2024

You can log on to the Microservices Engine (MSE) console to query the service lists and service details of Spring Cloud or Dubbo applications. This topic describes how to query services.

Terms

  • Service: the Spring Cloud or Dubbo service that is registered with an MSE instance.

  • Application: the deployed entity.

Query a service list

  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 Governance > Service query.

  3. On the Service query page, select Framework:Spring Cloud or Framework:Dubbo from the framework drop-down list in the upper-left corner to query the destination services.

    If a large number of services exist, you can filter or search for the services by Service name, IP, or Application name. Search keywords are not case-sensitive. The IP address specified by IP varies based on the type of the object in which applications are deployed. The object can be an Elastic Compute Service (ECS) instance or a Container Service for Kubernetes (ACK) cluster.

    • If applications are deployed on an ECS instance, the IP address of the ECS instance is used.

    • If applications are deployed in an ACK cluster, the IP address of the pod is used.

Query service details

  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 Governance > Service query.

  3. On the Service query page, click the service name to view the details of the service.

    The Service details panel consists of the Basic Information, Service call relationship, and Metadata sections.

    • Spring Cloud applications

      • The Basic Information section displays Service Name, Service Type, and Application Name.

        • Nacos Instance: If your service is registered with an MSE Nacos instance, you can view the Nacos instance.

        • Service Subscription: If your service is registered with an MSE Nacos instance, the service subscription feature is enabled by default. If the service subscription feature is enabled, DNS blocking is enabled. When the service calls other services over HTTP, the DNS system that is used for calls preferentially returns the result that is resolved by the Nacos service. You can disable the service subscription feature.

      • The Service call relationship section displays the Service Provider and Service Consumer tabs. The Service Provider tab displays the IP addresses and Port of the providers. The Service Consumer tab displays the IP addresses and Application name of consumers.

      • The Metadata section consists of two parts: Interface metadata and Service Metadata.

        • Interface metadata displays Class, Request method, Request path, Method name/description, and Parameter list/description.

        • Service Metadata displays the service metadata and the metadata that MSE provides for you to use microservices capabilities.

    • Dubbo applications

      • The Basic Information section displays Service Name, Version, Group, Service Type, and Application Name.

      • The Service call relationship section displays the Service Provider and Service Consumer tabs. The two tabs list the following information about providers and consumers: IP addresses, Port, Serialization method, and Timeout Period (ms).

      • The Metadata section consists of two parts: Interface metadata and Service Metadata.

        • Interface metadata displays Method name, Parameter list, and Return type.

        • Service Metadata displays the service metadata and the metadata that MSE provides for you to use microservices capabilities.