spanquery_rows_spans
Creates, updates, deletes, gets or lists a spanquery_rows_spans
resource.
Overview
Name | spanquery_rows_spans |
Type | Resource |
Id | sumologic.tracing.spanquery_rows_spans |
Fields
The following fields are returned by SELECT
queries:
- getSpanQueryResult
Details about the given span query.
Name | Datatype | Description |
---|---|---|
next | string | Next continuation token. (example: Mi93V0ZqTTBzaW89) |
spanPage | array | List of trace spans. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getSpanQueryResult | select | queryId , rowId , region | limit , token | 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. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
queryId | string | Identifier of the executed query. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
rowId | string | Identifier of the query row. |
limit | integer (int32) | Limit of the number of spans returned in the response. |
token | string | 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. |
SELECT
examples
- getSpanQueryResult
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.
SELECT
next,
spanPage
FROM sumologic.tracing.spanquery_rows_spans
WHERE queryId = '{{ queryId }}' -- required
AND rowId = '{{ rowId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND token = '{{ token }}'
;