All Products
Search
Document Center

Application Real-Time Monitoring Service:ListSpanNames

Last Updated:Jul 24, 2024

Queries all span names in a specified region or all span names of a microservice.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region.

cn-beijing
ServiceNamestringNo

The name of the application.

service 1
StartTimelongNo

The timestamp of the start time of the time range to query. The timestamp is accurate to milliseconds.

1575561600000
EndTimelongNo

The timestamp of the end time of the time range to query. The timestamp is accurate to milliseconds.

1575622455686

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1E2B6A4C-6B83-4062-8B6F-AEEC1F******
SpanNamesarray

The span names.

string

The span names.

{"SpanName":["rpc0","rpc1.1","rpc1.1.1"]}

Examples

Sample success responses

JSONformat

{
  "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 timeSummary of changesOperation
2023-09-04API Description Update. The Error code has changedView Change Details
2023-08-14The Error code has changedView Change Details