This interface defines virtual methods for each of the user-facing overload sets in TraceServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TraceServiceClient.
[[["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-07-26 UTC."],[[["This webpage details the `TraceServiceConnection` class, which is used in conjunction with `TraceServiceClient` to interact with the Trace service."],["Version 2.37.0-rc is the latest release candidate, and a range of previous versions are also available, down to 2.11.0, with the current page being specific to version 2.14.0."],["The `TraceServiceConnection` interface enables customization of `TraceServiceClient` behavior, including mocking for testing purposes, using the `MockTraceServiceConnection`."],["The `TraceServiceConnection` provides virtual methods such as `BatchWriteSpans` and `CreateSpan`, with specific parameter and return types as described."],["To use the `TraceServiceConnection`, you can make a concrete instance using the `MakeTraceServiceConnection()` function."]]],[]]