Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTracer ¶
InitTracer initialises the global OTel tracer provider.
If OTEL_EXPORTER_OTLP_ENDPOINT is unset it installs a no-op provider and returns immediately — callers do not need to special-case the absence. The returned shutdown function must be called before the process exits.
By default the gRPC exporter connects without TLS (suitable for a local collector). Set OTEL_EXPORTER_OTLP_INSECURE=false to enable TLS.
Types ¶
type Logger ¶
type Logger = internalmonitoring.Logger
Logger represents a structured logger with context
Click to show internal directories.
Click to hide internal directories.