package
Version:
v0.0.0-...-6647630
Opens a new window with list of versions in this module.
Published: Oct 10, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
JAEGER_SERVICE_NAME = utils.Getenv("JAEGER_SERVICE_NAME", "go-logger")
JAEGER_AGENT_HOST_PORT = utils.Getenv("JAEGER_AGENT_HOST_PORT", "localhost:6831")
JAEGER_RPC_METRICS = utils.Getenv("JAEGER_RPC_METRICS", "true")
)
func Listen() (opentracing.Tracer, io.Closer)
Listen returns an instance of Jaeger Tracer that samples 100% of traces and logs all spans to stdout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.