Cloud Trace API

Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry.

Service: cloudtrace.googleapis.com

The Service name cloudtrace.googleapis.com is needed to create RPC client stubs.

google.devtools.cloudtrace.v1.TraceService

Methods
GetTraceGets a single trace by its ID.
ListTracesReturns a list of traces that match the specified filter conditions.
TracesSends trace spans to Cloud Trace.

google.devtools.cloudtrace.v2.TraceService

Methods
BatchWriteSpansBatch writes new spans to new or existing traces.
CreateSpanCreates a new span.

google.devtools.cloudtrace.v2beta1.TracingConfigService

Methods
CreateTraceSinkCreates a sink that exports trace spans to a destination.
DeleteTraceSinkDeletes a sink.
GetTraceSinkGet a trace sink by name under the parent resource (GCP project).
ListTraceSinksList all sinks for the parent resource (GCP project).
UpdateTraceSinkUpdates a sink.