package
0.0.0-20230728070032-dd9e68f319d5
Repository: https://github.com/weaveworks/common.git
Documentation: pkg.go.dev

# Functions

ExtractSampledTraceID works like ExtractTraceID but the returned bool is only true if the returned trace id is sampled.
ExtractTraceID extracts the trace id, if any from the context.
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.

# Variables

ErrInvalidConfiguration is an error to notify client to provide valid trace report agent or config server.