Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTracer ¶
func LoadTracer( tracingEnable string, tracingJaegerEnable string, tracingJaegerAgentUrl string, tracingJaegerServiceName string, tracingJaegerEnvironment string, ) (trace.Tracer, error)
LoadTracer loads the tracer based on the environment variables tracingEnable: true/false tracingJaegerEnable: true/false tracingJaegerAgentUrl: url of the jaeger agent tracingJaegerServiceName: name of the service tracingJaegerEnvironment: environment of the service If tracing is enabled, it will return a tracer otherwise, it will return a noop tracer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.