Cloud Trace V2 API - Module Google::Cloud::Trace::V2::TraceService (v0.4.1)

Reference documentation and code samples for the Cloud Trace V2 API module Google::Cloud::Trace::V2::TraceService.

Service for collecting and viewing traces and spans within a trace.

A trace is a collection of spans corresponding to a single operation or a set of operations in an application.

A span is an individual timed event which forms a node of the trace tree. A single trace can contain spans from multiple services.

Example

Load this service and instantiate a gRPC client

require "google/cloud/trace/v2/trace_service"
client = ::Google::Cloud::Trace::V2::TraceService::Client.new