Documentation
¶
Overview ¶
Package jaegerreceiver receives Jaeger traces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a new Jaeger receiver factory.
Types ¶
type Config ¶
type Config struct {
Protocols Protocols `mapstructure:"protocols"`
RemoteSampling *RemoteSamplingConfig `mapstructure:"remote_sampling"`
// contains filtered or unexported fields
}
Config defines configuration for Jaeger receiver.
type ProtocolUDP ¶
type ProtocolUDP struct {
Endpoint string `mapstructure:"endpoint"`
ServerConfigUDP ServerConfigUDP `mapstructure:",squash"`
// contains filtered or unexported fields
}
ProtocolUDP is the configuration for a UDP protocol.
type Protocols ¶
type Protocols struct {
GRPC configoptional.Optional[configgrpc.ServerConfig] `mapstructure:"grpc"`
ThriftHTTP configoptional.Optional[confighttp.ServerConfig] `mapstructure:"thrift_http"`
ThriftBinaryUDP configoptional.Optional[ProtocolUDP] `mapstructure:"thrift_binary"`
ThriftCompactUDP configoptional.Optional[ProtocolUDP] `mapstructure:"thrift_compact"`
// contains filtered or unexported fields
}
Protocols is the configuration for the supported protocols.
type RemoteSamplingConfig ¶
type RemoteSamplingConfig struct {
HostEndpoint string `mapstructure:"host_endpoint"`
StrategyFile string `mapstructure:"strategy_file"`
StrategyFileReloadInterval time.Duration `mapstructure:"strategy_file_reload_interval"`
ClientConfig configgrpc.ClientConfig `mapstructure:",squash"`
// contains filtered or unexported fields
}
RemoteSamplingConfig defines config key for remote sampling fetch endpoint
type ServerConfigUDP ¶
type ServerConfigUDP struct {
QueueSize int `mapstructure:"queue_size"`
MaxPacketSize int `mapstructure:"max_packet_size"`
Workers int `mapstructure:"workers"`
SocketBufferSize int `mapstructure:"socket_buffer_size"`
// contains filtered or unexported fields
}
ServerConfigUDP is the server configuration for a UDP protocol.
Click to show internal directories.
Click to hide internal directories.