Skip to main content

spans_span

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

Overview

Namespans_span
TypeResource
Idgoogle.cloudtrace.spans_span

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
create_spanINSERTprojectsId, spansId, tracesIdCreates a new span.

INSERT example

Use the following StackQL query and manifest file to create a new spans_span resource.

/*+ create */
INSERT INTO google.cloudtrace.spans_span (
projectsId,
spansId,
tracesId,
name,
spanId,
parentSpanId,
displayName,
startTime,
endTime,
attributes,
stackTrace,
timeEvents,
links,
status,
sameProcessAsParentSpan,
childSpanCount,
spanKind
)
SELECT
'{{ projectsId }}',
'{{ spansId }}',
'{{ tracesId }}',
'{{ name }}',
'{{ spanId }}',
'{{ parentSpanId }}',
'{{ displayName }}',
'{{ startTime }}',
'{{ endTime }}',
'{{ attributes }}',
'{{ stackTrace }}',
'{{ timeEvents }}',
'{{ links }}',
'{{ status }}',
{{ sameProcessAsParentSpan }},
'{{ childSpanCount }}',
'{{ spanKind }}'
;