Obtains the trajectory data of a Nacos registry.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RequestPars | string | No | The extended request parameters in the JSON format. | {} |
InstanceId | string | Yes | The ID of the instance. | mse_prepaid_public_cn-tl32d***** |
ServiceName | string | No | The name of the service. | fpx-xms-baseinfo |
Group | string | No | The group. | group |
NamespaceId | string | No | The ID of the namespace. | cd4d3703-e2a6-46b5-85c6-4447e4f**** |
Ip | string | No | The IP address of the client. | 172.16.183.232 |
StartTs | long | Yes | The start timestamp. Unit: seconds. | 1660238450 |
EndTs | long | Yes | The end timestamp. Unit: seconds. | 1665299698 |
PageSize | long | Yes | The number of entries to return on each page. | 10 |
PageNum | long | Yes | The number of the page to return. | 1 |
Reverse | boolean | No | Specifies whether to sort the query results in chronological order or reverse chronological order. Default value:
| false |
AcceptLanguage | string | No | The language of the response. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpCode": "200",
"Traces": [
{
"PushTime": "2022-12-16 11:48:07",
"NodeName": "mse-197*****-167083******-reg-center-0-0",
"ClientIp": "120.40.32.235",
"ServerName": "fpx-xms-baseinfo",
"Group": "prod",
"InstanceSize": "1",
"PushTimeAll": "628ms",
"PushTimeNetwork": "37ms",
"SlaTime": "628ms"
}
],
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 7,
"RequestId": "9916CBED-B2D5-5685-9129-4592FE1*****",
"Message": "The request is successfully processed.\n",
"ErrorCode": "mse-100-000",
"Success": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
202 | TrackRegionNotSupport | - | |
400 | duplicatedClusterAliasName | duplicated cluster alias name | The instance name is duplicate. User another name. |
400 | illegalRequest | illegal request:%s | Invalid request: %s |
400 | invalidParameter | parameter error:%s | Invalid input parameter: %s |
403 | NoPermission | You are not authorized to perform this operation. | - |
404 | clusterNotFound | cluster not found | The cluster is not found. |
500 | systemError | system error | An error occurred on the system. Try again later. |
500 | regcenterError | register center error:%s | Instance request error: %s |
For a list of error codes, visit the Service error codes.