# Functions

ContextPushSpan() takes a Context which should already be decorated with a span Factory [see spans.ContextStoreSpan()].
EnvInteger() gets a configuration 'int' value from the specified environment variable, returning the 'tacit' value if not set.
MustNewClient() calls NewClient().
MustNewRegistrar() calls NewRegistrar() and, if that fails, uses lager.Exit() to abort the process.
NewClient() creates a new client capable of registering Spans in the GCP CloudTrace API v2.
NewRegistrar() starts a number of go-routines that wait to receive Finish()ed Spans and then register them with GCP Cloud Trace.
NewSpanID() just generates a random uint64 value.
NewTraceID() returns a new trace ID that can be used with GCP CloudTrace.
PushSpan() takes pointers to an *http.Request and to a Context and takes a name to give to a new span.
RequestPushSpan() takes an *http.Request and a Context which should already be decorated with a span Factory [see spans.ContextStoreSpan()].
StartServer() is the simplest start-up code to include in a server to enable GCP-based tracing, usually called like: ctx := context.Background() defer trace.StartServer(&ctx)() // Have 'ctx' returned by the http.Server.BaseContext func.
No description provided by the author

# Constants

No description provided by the author

# Structs

See NewClient().
Registrar is mostly just an object to use to Halt() the registration runners that got started when you created the Registrar.
Span tracks a span inside of a trace and can be used to create new child spans within it.

# Interfaces

No description provided by the author