Documentation ¶
Index ¶
Constants ¶
View Source
const ( UNKNOWN_EXPORTER OTLPExporterType = 0 TLS_GRPC_EXPORTER OTLPExporterType = 1 GRPC_EXPORTER OTLPExporterType = 2 HTTPS_EXPORTER OTLPExporterType = 3 HTTP_EXPORTER OTLPExporterType = 4 OTLP_GZIP_COMPRESSIONS OTLPCompression = "gzip" )
Variables ¶
This section is empty.
Functions ¶
func LogMessage ¶
Types ¶
type OTLPCompression ¶
type OTLPCompression string
type OTLPExporterType ¶
type OTLPExporterType int32
type TraceBuilder ¶
type TraceBuilder interface { WithApiKeyHeader() TraceBuilder AddHeader(key, value string) TraceBuilder WithHeaders(headers Headers) TraceBuilder Type(t OTLPExporterType) TraceBuilder Endpoint(s string) TraceBuilder WithTimeout(t time.Duration) TraceBuilder WithReconnection(t time.Duration) TraceBuilder WithCompression(c OTLPCompression) TraceBuilder Build(context.Context) (shutdown func(context.Context) error, err error) }
Click to show internal directories.
Click to hide internal directories.