Skip to main content

traces_trace_events

Creates, updates, deletes, gets or lists a traces_trace_events resource.

Overview

Nametraces_trace_events
TypeResource
Idsumologic.tracing.traces_trace_events

Fields

The following fields are returned by SELECT queries:

Map of spans to events relations.

NameDatatypeDescription
nextstringNext continuation token. (example: dlFXd0lhSkxzRjAwYnpVZkMrRmlhYnF4cGtNMWdnVEI)
spanEventsobjectMap of span ids to lists of their events, without their attributes.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getTraceLightEventsselecttraceId, regionlimit, tokenGets 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.

NameDatatypeDescription
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)
traceIdstringIdentifier of the trace for which span events will be returned.
limitinteger (int32)The maximum number of spans with events returned by a single query.
tokenstringContinuation 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

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 }}'
;