Queries all span names in a specified region or all span names of a microservice.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region. | cn-beijing |
ServiceName | string | No | The name of the application. | service 1 |
StartTime | long | No | The timestamp of the start time of the time range to query. The timestamp is accurate to milliseconds. | 1575561600000 |
EndTime | long | No | The timestamp of the end time of the time range to query. The timestamp is accurate to milliseconds. | 1575622455686 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1E2B6A4C-6B83-4062-8B6F-AEEC1F******",
"SpanNames": {
"SpanName": [
"{\"SpanName\":[\"rpc0\",\"rpc1.1\",\"rpc1.1.1\"]}"
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-04 | API Description Update. The Error code has changed | View Change Details |
2023-08-14 | The Error code has changed | View Change Details |