Documentation
¶
Overview ¶
Package cloudtrace provides common functions for attaching values to trace spans
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupCloudTrace ¶
func SetupCloudTrace(ctx context.Context, serviceName string, spanCollectionProbability float64, cfg *Config) (tracing.TracerProvider, error)
SetupCloudTrace creates a new trace provider instance and registers it as global trace provider.
Types ¶
Click to show internal directories.
Click to hide internal directories.