You can log on to the Enterprise Distributed Application Service (EDAS) console to query the service list and service details of Spring Cloud applications that are deployed in EDAS.

Limits

You can switch between the old and new versions of the Service Query page.

  • In the new version, the system uses the EDAS agent to query services in the EDAS registry, Microservice Engine (MSE)-hosted registry, and self-managed registries, including ZooKeeper, Nacos, Eureka, and Consul.
  • In the new version, you can query the services of Spring Cloud Edgware and later versions and the services in all registries.
  • In the old version, you can query the services of Spring Cloud Dalston and later versions that are registered with the EDAS registry.
  • In the old version, you can query only services in the EDAS registry.
  • Outbound TCP connections over ports 8442, 8443, and 8883 must be allowed in the security group of your server. For more information about how to allow outbound connections in Elastic Compute Service (ECS), see Add security group rules.

View services

  1. Log on to the EDAS console.
  2. In the left-side navigation pane, choose Microservices Governance > Spring Cloud.
  3. In the left-side navigation tree of Spring Cloud, click Service Query.
  4. In the top navigation bar, select a region. On the Service Query page, select a microservice namespace to view the Spring Cloud services of your account.
    You can view the following information about a Spring Cloud service: the service name, application name, and number of instances.

    If a large number of services exist, you can filter services by service name, IP address, or application name. Filter keywords are not case-sensitive. The value of IP varies between ECS and Kubernetes clusters.

    • ECS cluster: The value is the IP address of an ECS instance.
    • Kubernetes cluster: The value is the IP address of a pod.
    Note If you can query services of your applications on the old Service Query page but not on the new Service Query page, troubleshoot the problem by performing the following steps:
    1. The new version of the Service Query page was released at 00:00 of January 20, 2020. You must restart your applications after this point in time so that they can be automatically mounted with the latest EDAS agent. Therefore, you must restart your applications before you query services on the new Service Query page.
    2. Check whether the microservice framework version is supported. For more information about the supported versions, see Limits.

View service details

  1. Log on to the EDAS console.
  2. In the left-side navigation pane, choose Microservices Governance > Spring Cloud.
  3. In the navigation tree of the Spring Cloud page, click Service Query.
  4. In the top navigation bar, select a region. On the Service Query page, select a microservice namespace. Then, click a service name in the service list.
  5. In the Service Details panel, view the details of the service.

    The Service Details panel contains the following sections: Basic Information, Service invocation relationship, and Metadata. The Metadata section contains Interface metadata and Metadata Metadata.

    • Basic InformationView basic information in service details for Spring Cloud
    • Service Invocation RelationshipView the service call relationship in service details for Spring Cloud

      The Service Invocation Relationship section provides the Service Provider and Service Consumer tabs, which list information such as IP and Port.

    • Metadata
      • Interface MetadataView metadata in service details for Spring Cloud

        The Interface Metadata section provides information about the class to which the service belongs, the request method, and the interface of the service.

      • Metadata MetadataMetadata Metadata

        The Metadata Metadata section provides the metadata of the service and the EDAS-provided metadata for implementing microservice capabilities.