traces_critical_path
Creates, updates, deletes, gets or lists a traces_critical_path
resource.
Overview
Name | traces_critical_path |
Type | Resource |
Id | sumologic.tracing.traces_critical_path |
Fields
The following fields are returned by SELECT
queries:
- getCriticalPath
List of span segments composing the critical path.
Name | Datatype | Description |
---|---|---|
next | string | Next continuation token. (example: Mi93V0ZqTTBzaW89) |
segments | array | List of span segments from the critical path. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getCriticalPath | select | traceId , region | limit , token | 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. |
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. |
limit | integer (int32) | The maximum number of results to fetch. |
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
- getCriticalPath
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 }}'
;