Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContextWithMetadata ¶ added in v1.18.2
NewContextWithMetadata create new context with metadata for tracer starting. In yomo, we use metadata from dataFrame as the trace Propagator. And yomo only carries traceID and spanID in metadata.
func SetTracerProvider ¶ added in v1.18.2
func SetTracerProvider(service string)
SetTracerProvider sets an OpenTelemetry TracerProvider configured to use the Jaeger exporter that will send spans to the provided url. The global TracerProvider will also use a Resource configured with all the information about the application.
func ShutdownTracerProvider ¶ added in v1.18.2
func ShutdownTracerProvider()
ShutdownTracerProvider shutdown the global TracerProvider.
Types ¶
Click to show internal directories.
Click to hide internal directories.