Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExporterStdout = "stdout" ExporterOTLP = "otlp" ExporterOTLPHTTP = "otlphttp" ExporterOTLPGRPC = "otlpgrpc" CompressionGzip = "gzip" )
Variables ¶
View Source
var ( ErrContextRequired = errors.New("trace: context is required") ErrEndpointRequired = errors.New("trace: endpoint is required for otlp exporters") ErrUnsupportedExporter = errors.New("trace: unsupported exporter") ErrInvalidSampleRate = errors.New("trace: sample rate must be between 0 and 1") )
Functions ¶
func InitTracer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.