Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( instanceName string, config *Configuration, nextConsumer consumer.TraceConsumer, params component.ReceiverCreateParams, ) (component.TraceReceiver, error)
New creates a TraceReceiver that receives traffic as a Jaeger collector, and also as a Jaeger agent.
func NewFactory ¶ added in v0.6.0
func NewFactory() component.ReceiverFactory
Types ¶
type Config ¶
type Config struct { configmodels.ReceiverSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct Protocols `mapstructure:"protocols"` RemoteSampling *RemoteSamplingConfig `mapstructure:"remote_sampling"` }
Config defines configuration for Jaeger receiver.
type Configuration ¶
type Configuration struct { CollectorThriftPort int CollectorHTTPPort int CollectorGRPCPort int CollectorGRPCOptions []grpc.ServerOption AgentCompactThriftPort int AgentBinaryThriftPort int AgentHTTPPort int RemoteSamplingClientSettings configgrpc.GRPCClientSettings RemoteSamplingStrategyFile string }
Configuration defines the behavior and the ports that the Jaeger receiver will use.
type Protocols ¶ added in v0.5.0
type Protocols struct { GRPC *configgrpc.GRPCServerSettings `mapstructure:"grpc"` ThriftHTTP *confighttp.HTTPServerSettings `mapstructure:"thrift_http"` ThriftBinary *configprotocol.ProtocolServerSettings `mapstructure:"thrift_binary"` ThriftCompact *configprotocol.ProtocolServerSettings `mapstructure:"thrift_compact"` }
type RemoteSamplingConfig ¶
type RemoteSamplingConfig struct { HostEndpoint string `mapstructure:"host_endpoint"` StrategyFile string `mapstructure:"strategy_file"` configgrpc.GRPCClientSettings `mapstructure:",squash"` }
RemoteSamplingConfig defines config key for remote sampling fetch endpoint
Click to show internal directories.
Click to hide internal directories.