Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TraceIDKey key used in log TraceIDKey = "traceId" // SpanIDKey key used in log SpanIDKey = "spanId" // ParentSpanIDKey key used in log ParentSpanIDKey = "parentSpanId" // SampledKey key used in log SampledKey = "sampled" )
Variables ¶
This section is empty.
Functions ¶
func BricksLoggerOption ¶
BricksLoggerOption can be added to enable jaeger client debug using mortar logger
func TraceInfoContextExtractorFxOption ¶
TraceInfoContextExtractorFxOption is a preconfigured fx.Option that will allow adding trace info to log entry
func TraceInfoExtractorFromContext ¶
TraceInfoExtractorFromContext helper function to extract trace info from context
Types ¶
type JaegerBuilder ¶
type JaegerBuilder interface { SetServiceName(name string) JaegerBuilder AddOptions(options ...config.Option) JaegerBuilder SetCustomConfig(custom *config.Configuration) JaegerBuilder Build() (trace.OpenTracer, error) }
JaegerBuilder is a builder that will help you configure jaeger
Click to show internal directories.
Click to hide internal directories.