Index
TracingConfigService
(interface)CreateTraceSinkRequest
(message)DeleteTraceSinkRequest
(message)GetTraceSinkRequest
(message)ListTraceSinksRequest
(message)ListTraceSinksResponse
(message)OutputConfig
(message)TraceSink
(message)UpdateTraceSinkRequest
(message)
TracingConfigService
Service for configuring sinks used to export trace data out of Cloud Trace. This API may be extended in the future to cover a greater range of Trace related configuration.
CreateTraceSink |
---|
Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink's
|
DeleteTraceSink |
---|
Deletes a sink.
|
GetTraceSink |
---|
Get a trace sink by name under the parent resource (GCP project).
|
ListTraceSinks |
---|
List all sinks for the parent resource (GCP project).
|
UpdateTraceSink |
---|
Updates a sink. This method updates fields in the existing sink according to the provided update mask. The sink's name cannot be changed nor any output-only fields (e.g. the writer_identity).
|
CreateTraceSinkRequest
The parameters to CreateTraceSink
. With a parent "projects/my-trace-project" and TraceSink with a name "my-sink" this request will create the sink "projects/my-trace-project/sinks/my-sink"
Fields | |
---|---|
parent |
Required. The resource in which to create the sink (currently only project sinks are supported):
Examples: Authorization requires the following IAM permission on the specified resource
|
trace_ |
Required. The new sink, whose |
DeleteTraceSinkRequest
The parameters to DeleteTraceSink
.
Fields | |
---|---|
name |
Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:
Example: Authorization requires the following IAM permission on the specified resource
|
GetTraceSinkRequest
The parameters to GetTraceSink
.
Fields | |
---|---|
name |
Required. The resource name of the sink:
Example: Authorization requires the following IAM permission on the specified resource
|
ListTraceSinksRequest
The parameters to ListTraceSinks
.
Fields | |
---|---|
parent |
Required. The parent resource whose sinks are to be listed (currently only project parent resources are supported):
Authorization requires the following IAM permission on the specified resource
|
page_ |
Optional. If present, then retrieve the next batch of results from the preceding call to this method. |
page_ |
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of |
ListTraceSinksResponse
Result returned from ListTraceSinks
.
Fields | |
---|---|
sinks[] |
A list of sinks. |
next_ |
A paginated response where more pages might be available has |
OutputConfig
OutputConfig contains a destination for writing trace data.
Fields | |
---|---|
destination |
Required. The destination for writing trace data. Supported formats include:
|
TraceSink
Describes a sink used to export traces to a BigQuery dataset. The sink must be created within a project.
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. |
output_ |
Required. The export destination. |
writer_ |
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" |
UpdateTraceSinkRequest
The parameters to UpdateTraceSink
.
Fields | |
---|---|
name |
Required. The full resource name of the sink to update, including the parent resource and the sink identifier:
Example: Authorization requires the following IAM permission on the specified resource
|
trace_ |
Required. The updated trace sink, whose name is the same identifier ( |
update_ |
Required. Field mask that specifies the fields in An empty For a detailed Example: |