Resource: TraceSink
Describes a sink used to export traces to a BigQuery dataset. The sink must be created within a project.
JSON representation |
---|
{
"name": string,
"outputConfig": {
object ( |
Fields | |
---|---|
name |
Identifier. The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.:
Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. |
outputConfig |
Required. The export destination. |
writerIdentity |
Output only. A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see Granting access for a resource. To create tables and to write data, this account needs the "service-00000001@00000002.iam.gserviceaccount.com" |
OutputConfig
OutputConfig contains a destination for writing trace data.
JSON representation |
---|
{ "destination": string } |
Fields | |
---|---|
destination |
Required. The destination for writing trace data. Supported formats include:
|
Methods |
|
---|---|
|
Creates a sink that exports trace spans to a destination. |
|
Deletes a sink. |
|
Get a trace sink by name under the parent resource (GCP project). |
|
List all sinks for the parent resource (GCP project). |
|
Updates a sink. |