TraceSink

Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export traces only from the resource owning the sink (the 'parent').

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The canonical sink resource name, unique within the project. Must be of the form: projects/PROJECT_NUMBER/traceSinks/SINK_ID. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

Link copied to clipboard

The export destination.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val writerIdentity: Output<String>

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 /iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"