public static class TraceServiceReference 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.
Namespace
Google.Cloud.Trace.V1Assembly
Google.Cloud.Trace.V1.dll
Methods
BindService(TraceServiceBase)
public static ServerServiceDefinition BindService(TraceService.TraceServiceBase serviceImpl)Creates service definition that can be registered with a server
| Parameter | |
|---|---|
| Name | Description |
serviceImpl |
TraceServiceTraceServiceBaseAn object implementing the server-side handling logic. |
| Returns | |
|---|---|
| Type | Description |
ServerServiceDefinition |
|
BindService(ServiceBinderBase, TraceServiceBase)
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.
| Parameters | |
|---|---|
| Name | Description |
serviceBinder |
ServiceBinderBaseService methods will be bound by calling |
serviceImpl |
TraceServiceTraceServiceBaseAn object implementing the server-side handling logic. |