Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBlankTraceConfiguration = errors.New("no trace report agent, config server, or collector endpoint specified")
)
ErrInvalidConfiguration is an error to notify client to provide valid trace report agent or config server
Functions ¶
func ExtractSampledTraceID ¶
ExtractSampledTraceID works like ExtractTraceID but the returned bool is only true if the returned trace id is sampled.
func ExtractTraceID ¶
ExtractTraceID extracts the trace id, if any from the context.
func ExtractTraceSpanID ¶
ExtractTraceSpanID extracts the trace id, span id if any from the context.
func NewFromEnv ¶
NewFromEnv is a convenience function to allow tracing configuration via environment variables
Tracing will be enabled if one (or more) of the following environment variables is used to configure trace reporting: - JAEGER_AGENT_HOST - JAEGER_SAMPLER_MANAGER_HOST_PORT
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.