All Products
Search
Document Center

Managed Service for OpenTelemetry:ListSpanNames

Last Updated:Mar 03, 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 changedsee changesets
Change itemChange content
API DescriptionAPI Description Update.
Error CodesThe Error code has changed.
    Error Codes 400 change
    delete Error Codes: 403
    delete Error Codes: 404
    delete Error Codes: 500
2023-08-14The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Added Error Codes: 400
    Added Error Codes: 403
    Added Error Codes: 404
    Added Error Codes: 500