Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitProvider ¶
func InitProvider(cfg *Config) (*tracesdk.TracerProvider, error)
Types ¶
type Config ¶
type Config struct { OtelCollectorEndpoint string OtelCollectorTLSCertFile string OtelCollectorTLSKeyFile string JaegerCollectorEndpoint string SamplingRatio float64 }
Config represents a tracing configuration used upon initialization.
func ParseFlags ¶
ParseFlags parses the configuration flags for tracing.
func (Config) CanExportTraces ¶
CanExportTraces checks if we have the necessary configurations to export traces telemetry.
Click to show internal directories.
Click to hide internal directories.