Stackdriver Trace API

Sends application trace data to Stackdriver 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 Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus.


The Service name is needed to create RPC client stubs.


GetTrace Gets a single trace by its ID.
ListTraces Returns of a list of traces that match the specified filter conditions.
PatchTraces Sends new traces to Stackdriver Trace or updates existing traces.


BatchWriteSpans Sends new spans to new or existing traces.
CreateSpan Creates a new span.