Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTraceLogDiscovery ¶
func ApplyTraceLogDiscovery(logger hclog.Logger, span opentracing.Span) (hclog.Logger, opentracing.Span)
ApplyTraceLogDiscovery applied a traceId to the log entries.
func GetTracer ¶
func GetTracer(logger hclog.Logger, config *configs.TracingConfig) (opentracing.Tracer, func(), error)
GetTracer returns configured Jaeger reporter or null reporter, if tracer is disabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.