API Name | API Description |
POST:/eureka/apps/{application} | eureka client service instance registration. |
GET:/eureka/apps | The eureka client queries all service instances. |
GET:/eureka/apps/delta | The eureka client incrementally pulls service instances. |
GET:/eureka/apps/{application} | The eureka client queries all instances of a service. |
GET:/eureka/apps/{application}/{instanceid} | The eureka client queries a specific instance under a service. |
PUT:/eureka/apps/{application}/{instanceid} | The eureka client reports service instance heartbeats. |
DELETE:/eureka/apps/{application}/{instanceid} | eureka client service instance deregistration. |
PUT:/eureka/apps/{application}/{instanceid}/status | eureka client service instance status change. |
DELETE:/eureka/apps/{application}/{instanceid}/status | The eureka client deletes service instance changes. |
/v1.PolarisGRPC/RegisterInstance | grpc client service instance registration. |
/v1.PolarisGRPC/DeregisterInstance | grpc client service instance deregistration. |
/v1.PolarisGRPC/Heartbeat | grpc client service instance heartbeat reporting. |
/v1.PolarisGRPC/Discover | grpc client service discovery. |
curl -v -X POST -H "Accept: application/json" -H "Content-type: text/plain" http://{$polaris_ip}:8761/eureka/apps/test -d '{"instance":{"instanceId":"test-1","securePort":{"$":"0","@enabled":"false"},"ipAddr":"{$client_ip}}","status":"UP","port":{"$":"{$client_port}}","@enabled":"true"},"hostName":"{$client_ip}"}}'
POST:/eureka/apps/{application} to view the monitoring information for this request.Request Failure Breakdown group in the monitoring information, you can preliminarily locate the cause of the error. Currently, it includes the following error types:4XX, indicating a parameter validation failure. You need to check whether the parameters and HTTP headers you passed are correct. If you are using a non-Eureka access method and have logged the response from the PolarisMesh service, you can check the logs. The PolarisMesh response packet contains the reason for the parameter validation failure.5XX. The occurrence of such errors indicates an exception in PolarisMesh. You need to submit a ticket and contact Tencent Cloud engineers to resolve the issue.negative number. A typical scenario is when the client disconnects while PolarisMesh is writing data to it after the client's data is received, which generates such errors. You need to check your code logic to see whether the connection was closed prematurely.Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan