Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( DefaultGRPCServerArguments = GRPCServerArguments{ Endpoint: "0.0.0.0:14250", Transport: "tcp", } DefaultHTTPServerArguments = HTTPServerArguments{ Endpoint: "0.0.0.0:5778", } )
Default server settings.
var DefaultGRPCClientArguments = GRPCClientArguments{ Headers: map[string]string{}, Compression: otelcol.CompressionTypeGzip, WriteBufferSize: 512 * 1024, BalancerName: "pick_first", }
DefaultGRPCClientArguments holds component-specific default settings for GRPCClientArguments.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { GRPC *GRPCServerArguments `river:"grpc,block,optional"` HTTP *HTTPServerArguments `river:"http,block,optional"` Source ArgumentsSource `river:"source,block"` }
Arguments configures the otelcol.extension.jaegerremotesampling component.
func (Arguments) Convert ¶
func (args Arguments) Convert() (otelcomponent.Config, error)
Convert implements extension.Arguments.
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[otelcomponent.DataType]map[otelcomponent.ID]otelcomponent.Component
Exporters implements extension.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
Extensions implements extension.Arguments.
type ArgumentsSource ¶
type ArgumentsSource struct { Content string `river:"content,attr,optional"` Remote *GRPCClientArguments `river:"remote,block,optional"` File string `river:"file,attr,optional"` ReloadInterval time.Duration `river:"reload_interval,attr,optional"` }
func (*ArgumentsSource) Validate ¶ added in v0.35.0
func (a *ArgumentsSource) Validate() error
Validate implements river.Validator.
type GRPCClientArguments ¶ added in v0.36.0
type GRPCClientArguments otelcol.GRPCClientArguments
GRPCClientArguments is used to configure otelcol.extension.jaeger_remote_sampling with component-specific defaults.
func (*GRPCClientArguments) SetToDefault ¶ added in v0.36.0
func (args *GRPCClientArguments) SetToDefault()
SetToDefault implements river.Defaulter.
type GRPCServerArguments ¶
type GRPCServerArguments otelcol.GRPCServerArguments
GRPCServerArguments is used to configure otelcol.extension.jaeger_remote_sampling with component-specific defaults.
func (*GRPCServerArguments) SetToDefault ¶ added in v0.35.0
func (args *GRPCServerArguments) SetToDefault()
SetToDefault implements river.Defaulter.
type HTTPServerArguments ¶
type HTTPServerArguments otelcol.HTTPServerArguments
HTTPServerArguments is used to configure otelcol.extension.jaeger_remote_sampling with component-specific defaults.
func (*HTTPServerArguments) SetToDefault ¶ added in v0.35.0
func (args *HTTPServerArguments) SetToDefault()
SetToDefault implements river.Defaulter.