Skip to main content

traces

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

Overview​

Nametraces
TypeResource
Idgoogle.cloudtrace.traces

Fields​

The following fields are returned by SELECT queries:

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

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_writeexecprojectsIdBatch writes new spans to new or existing traces. You cannot update existing spans. If a span ID already exists, an additional copy of the span will be stored.

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
projectsIdstring

Lifecycle Methods​

Batch writes new spans to new or existing traces. You cannot update existing spans. If a span ID already exists, an additional copy of the span will be stored.

EXEC google.cloudtrace.traces.batch_write
@projectsId='{{ projectsId }}' --required
@@json=
'{
"spans": "{{ spans }}"
}'
;