traces_trace_events
Creates, updates, deletes, gets or lists a traces_trace_events
resource.
Overview
Name | traces_trace_events |
Type | Resource |
Id | sumologic.tracing.traces_trace_events |
Fields
The following fields are returned by SELECT
queries:
- getTraceLightEvents
Map of spans to events relations.
Name | Datatype | Description |
---|---|---|
next | string | Next continuation token. (example: dlFXd0lhSkxzRjAwYnpVZkMrRmlhYnF4cGtNMWdnVEI) |
spanEvents | object | Map of span ids to lists of their events, without their attributes. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getTraceLightEvents | select | traceId , region | limit , token | Gets a list of the events (without their attributes) attached to each span in a given trace. 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 |
---|---|---|
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
traceId | string | Identifier of the trace for which span events will be returned. |
limit | integer (int32) | The maximum number of spans with events returned by a single query. |
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
- getTraceLightEvents
Gets a list of the events (without their attributes) attached to each span in a given trace. The response is paginated with a default limit of 100 spans per page.
SELECT
next,
spanEvents
FROM sumologic.tracing.traces_trace_events
WHERE traceId = '{{ traceId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND token = '{{ token }}'
;