Skip to main content

traces_critical_path

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

Overview

Nametraces_critical_path
TypeResource
Idsumologic.tracing.traces_critical_path

Fields

The following fields are returned by SELECT queries:

List of span segments composing the critical path.

NameDatatypeDescription
nextstringNext continuation token. (example: Mi93V0ZqTTBzaW89)
segmentsarrayList of span segments from the critical path.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getCriticalPathselecttraceId, regionlimit, tokenGet a list of span segments composing the critical path of the trace. A span segment represents the processing time that was consumed within the span itself and does not incorporate the processing time of its children. The critical path is the sequence of span segments that contribute to the total trace duration. An increase of the processing time of any segment from the critical path would result in an increase of the total trace processing time.

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.
limitinteger (int32)The maximum number of results to fetch.
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

Get a list of span segments composing the critical path of the trace. A span segment represents the processing time that was consumed within the span itself and does not incorporate the processing time of its children. The critical path is the sequence of span segments that contribute to the total trace duration. An increase of the processing time of any segment from the critical path would result in an increase of the total trace processing time.

SELECT
next,
segments
FROM sumologic.tracing.traces_critical_path
WHERE traceId = '{{ traceId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND token = '{{ token }}'
;