Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewTracerProvider ¶
func NewTracerProvider(ctx context.Context, logger log.Logger, conf []byte) (*tracesdk.TracerProvider, error)
NewOTELTracer returns an OTLP exporter based tracer.
Types ¶
type Config ¶
type Config struct { ClientType string `yaml:"client_type"` ServiceName string `yaml:"service_name"` ReconnectionPeriod time.Duration `yaml:"reconnection_period"` Compression string `yaml:"compression"` Insecure bool `yaml:"insecure"` Endpoint string `yaml:"endpoint"` URLPath string `yaml:"url_path"` Timeout time.Duration `yaml:"timeout"` RetryConfig retryConfig `yaml:"retry_config"` Headers map[string]string `yaml:"headers"` TLSConfig exthttp.TLSConfig `yaml:"tls_config"` SamplerType string `yaml:"sampler_type"` SamplerParam string `yaml:"sampler_param"` }
Click to show internal directories.
Click to hide internal directories.