v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBspanAnalytics
Get results of a span analytics query.
Get a list of spans matching a query with the specified id. The response is paginated with a default limit of 100 spans per page.
get/v1/tracing/spanquery/{queryId}/rows/{rowId}/spans
Path parameters
queryIdstring required
Example:195038749d21ad109242c95cbbc8709d
Identifier of the executed query.
rowIdstring required
Example:A
Identifier of the query row.
Query parameters
limitinteger
Example:100
Limit of the number of spans returned in the response.
tokenstring
Example:dlFXd0lhSkxzRjAwYnpVZkMrRmlhYnF4cGtNMWdnVEI
Continuation token to get the next page of results. A page object with the next continuation token is returned in the response body. Subsequent GET requests should specify the continuation token to get the next page of results. token is set to null when no more pages are left.
Response
Details about the given span query.
Example response
{
"spanPage": [
{
"spanId": "00000000002317A9",
"traceId": "1BB004A0005213C2",
"parentSpanId": "000000000003C7BE",
"operationName": "retrieveAccount",
"service": "user-service",
"remoteService": "external-service",
"duration": 212957153,
"startedAt": "2019-11-22T09:00:00Z",
"status": {
"code": "OK",
"message": "404"
},
"kind": "SERVER",
"tagsJSON": "{\n "http.host":"http://example.com",\n "http.request.method":"GET"\n}",
"metadata": {
"_sourceCategory": "account-backend"
}
}
],
"next": "Mi93V0ZqTTBzaW89"
}