traces
Creates, updates, deletes, gets or lists a traces
resource.
Overview
Name | traces |
Type | Resource |
Id | google.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
batch_write | exec | projectsId | 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. |
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 |
---|---|---|
projectsId | string |
Lifecycle Methods
- batch_write
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 }}"
}';