Documentation ¶
Index ¶
Constants ¶
View Source
const ( SeverityTrace = log.SeverityTrace SeverityDebug = log.SeverityDebug SeverityInfo = log.SeverityInfo SeverityWarn = log.SeverityWarn SeverityError = log.SeverityError SeverityFatal = log.SeverityFatal )
Variables ¶
This section is empty.
Functions ¶
func CreateLogRecord ¶
CreateLogRecord is a helper function to create OpenTelemetry log records with consistent timestamp and formatting.
func NewProvider ¶
func NewProvider(serviceName, endpoint string, secure bool, protocol string, headers map[string]string) (*sdktrace.TracerProvider, *sdkmetric.MeterProvider, *sdklog.LoggerProvider, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.