Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OtelEnable, _ = strconv.ParseBool(os.Getenv("OTEL_ENABLE"))
)
Functions ¶
func ExtractTraceID ¶
Extracts traceID from a Context
func InitProvider ¶
Initializes an OTLP exporter, and configures the corresponding trace and metric providers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.