Reference documentation and code samples for the Cloud Trace V1 API module Google::Cloud::Trace::V1::TraceService.
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.
To load this service and instantiate a REST client:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Trace V1 API - Module Google::Cloud::Trace::V1::TraceService (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-trace-v1/latest/Google-Cloud-Trace-V1-TraceService)\n- [1.3.1](/ruby/docs/reference/google-cloud-trace-v1/1.3.1/Google-Cloud-Trace-V1-TraceService)\n- [1.2.0](/ruby/docs/reference/google-cloud-trace-v1/1.2.0/Google-Cloud-Trace-V1-TraceService)\n- [1.1.0](/ruby/docs/reference/google-cloud-trace-v1/1.1.0/Google-Cloud-Trace-V1-TraceService)\n- [1.0.1](/ruby/docs/reference/google-cloud-trace-v1/1.0.1/Google-Cloud-Trace-V1-TraceService)\n- [0.9.0](/ruby/docs/reference/google-cloud-trace-v1/0.9.0/Google-Cloud-Trace-V1-TraceService)\n- [0.8.2](/ruby/docs/reference/google-cloud-trace-v1/0.8.2/Google-Cloud-Trace-V1-TraceService)\n- [0.7.0](/ruby/docs/reference/google-cloud-trace-v1/0.7.0/Google-Cloud-Trace-V1-TraceService)\n- [0.6.1](/ruby/docs/reference/google-cloud-trace-v1/0.6.1/Google-Cloud-Trace-V1-TraceService)\n- [0.5.0](/ruby/docs/reference/google-cloud-trace-v1/0.5.0/Google-Cloud-Trace-V1-TraceService)\n- [0.4.0](/ruby/docs/reference/google-cloud-trace-v1/0.4.0/Google-Cloud-Trace-V1-TraceService)\n- [0.3.5](/ruby/docs/reference/google-cloud-trace-v1/0.3.5/Google-Cloud-Trace-V1-TraceService) \nReference documentation and code samples for the Cloud Trace V1 API module Google::Cloud::Trace::V1::TraceService.\n\nThis file describes an API for collecting and viewing traces and spans\nwithin a trace. A Trace is a collection of spans corresponding to a single\noperation or set of operations for an application. A span is an individual\ntimed event which forms a node of the trace tree. Spans for a single trace\nmay span multiple services.\n\nTo load this service and instantiate a REST client: \n\n require \"google/cloud/trace/v1/trace_service/rest\"\n client = ::Google::Cloud::Trace::V1::TraceService::Rest::Client.new"]]