package
0.0.14-alpha04
Repository: https://github.com/stackql/stackql-parser.git
Documentation: pkg.go.dev
# Functions
AddGrpcClientOptions adds GRPC interceptors that add parent information to outgoing grpc packets.
AddGrpcServerOptions adds GRPC interceptors that read the parent span from the grpc packets.
AnnotateSQL annotates information about a sql query in the span.
CopySpan creates a new context from parentCtx, with only the trace span copied over from spanCtx, if it has any.
FromContext returns the Span from a Context if present.
LogErrorsWhenClosing will close the provided Closer, and log any errors it generates.
NewContext returns a context based on parent with a new Span value.
NewFromString creates a new Span with the currently installed tracing plugin, extracting the span context from the provided string.
NewSpan creates a new Span with the currently installed tracing plugin.
StartTracing enables tracing for a named service.
# Interfaces
Span represents a unit of work within a trace.
# Type aliases
TracerFactory creates a tracing service for the service provided.