Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Insecure endpoint (http) Insecure bool `mapstructure:"insecure"` // Compress - use gzip compression Compress bool `mapstructure:"compress"` // Exporter type, can be zipkin,stdout or otlp Exporter Exporter `mapstructure:"exporter"` // CustomURL to use to send spans, has effect only for the HTTP exporter CustomURL string `mapstructure:"custom_url"` // Client Client Client `mapstructure:"client"` // Endpoint to connect Endpoint string `mapstructure:"endpoint"` // ServiceName describes the service in the attributes ServiceName string `mapstructure:"service_name"` // ServiceVersion in semver format ServiceVersion string `mapstructure:"service_version"` // Headers for the otlp protocol Headers map[string]string `mapstructure:"headers"` }
func (*Config) InitDefault ¶
func (c *Config) InitDefault()
Click to show internal directories.
Click to hide internal directories.