spans_span
Creates, updates, deletes, gets or lists a spans_span
resource.
Overview
Name | spans_span |
Type | Resource |
Id | google.cloudtrace.spans_span |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_span | INSERT | projectsId, spansId, tracesId | Creates a new span. |
INSERT
example
Use the following StackQL query and manifest file to create a new spans_span
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: spanId
value: string
- name: parentSpanId
value: string
- name: displayName
value:
- name: value
value: string
- name: truncatedByteCount
value: integer
- name: startTime
value: string
- name: endTime
value: string
- name: attributes
value:
- name: attributeMap
value: object
- name: droppedAttributesCount
value: integer
- name: stackTrace
value:
- name: stackFrames
value:
- name: frame
value:
- - name: lineNumber
value: string
- name: columnNumber
value: string
- name: loadModule
value: []
- name: droppedFramesCount
value: integer
- name: stackTraceHashId
value: string
- name: timeEvents
value:
- name: timeEvent
value:
- - name: time
value: string
- name: annotation
value: []
- name: messageEvent
value:
- name: type
value: string
- name: id
value: string
- name: uncompressedSizeBytes
value: string
- name: compressedSizeBytes
value: string
- name: droppedAnnotationsCount
value: integer
- name: droppedMessageEventsCount
value: integer
- name: links
value:
- name: link
value:
- - name: traceId
value: string
- name: spanId
value: string
- name: type
value: string
- name: droppedLinksCount
value: integer
- name: status
value:
- name: code
value: integer
- name: message
value: string
- name: details
value:
- object
- name: sameProcessAsParentSpan
value: boolean
- name: childSpanCount
value: integer
- name: spanKind
value: string