pkgtracer

package
v1.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL