Reference documentation and code samples for the Google Cloud Trace v1 API class 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.
public static void BindService(ServiceBinderBase serviceBinder, TraceService.TraceServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTraceService\u003c/code\u003e class is part of the Google Cloud Trace v1 API and is used for collecting and viewing traces and spans within an application.\u003c/p\u003e\n"],["\u003cp\u003eA trace is defined as a collection of spans related to a single operation, with each span representing a timed event.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method can create a server service definition that can be registered with a server.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method can also register service methods with a service binder, allowing for customization of the service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation contains version history of this API, ranging from version 2.2.0 to 3.4.0, with 3.4.0 being the latest version.\u003c/p\u003e\n"]]],[],null,[]]