Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTraceProvider ¶
func InitTraceProvider( ctx context.Context, serviceName, serviceVersion string, samplingRate float64, ) (*trace.TracerProvider, error)
InitTraceProvider initializes OpenTelemetry trace provider Uses stdout exporter (traces output to logs, no external Collector needed) Future upgrade: Switch to OTLP HTTP exporter by changing only the exporter creation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.