Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "full-text-search"
Variables ¶
This section is empty.
Functions ¶
func GRPCExporter ¶
GRPCExporter creates a trace.SpanExporter that pushes spans to a tracing backend via gRPC.
This call takes in a URI string to the tracing backend, and returns the trace.SpanExporter and an error if raised.
Types ¶
type ShutdownFunc ¶
func Init ¶
func Init(ctx context.Context, traceExporter sdktrace.SpanExporter) (ShutdownFunc, error)
Init registers a new tracer for this service, that exports its spans to the input trace.SpanExporter.
This call returns the TracerProvider's shutdown function, and an error if raised.
Click to show internal directories.
Click to hide internal directories.