Skip navigation links

@Generated(value="by gapic-generator")

Package com.google.cloud.trace.v1

A client to Stackdriver Trace API.

See: Description

Package com.google.cloud.trace.v1 Description

A client to Stackdriver Trace API.

The interfaces provided are listed below, along with usage samples.

================== TraceServiceClient ==================

Service Description: This file describes an API for collecting and viewing traces and spans within a trace. A Trace is a collection of spans corresponding to a single operation or set of operations for an application. A span is an individual timed event which forms a node of the trace tree. Spans for a single trace may span multiple services.

Sample for TraceServiceClient:

 
 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) {
   String projectId = "";
   String traceId = "";
   Trace response = traceServiceClient.getTrace(projectId, traceId);
 }
 
 
Skip navigation links

Copyright © 2020 Google LLC. All rights reserved.