Documentation
¶
Index ¶
- Variables
- type Arguments
- func (args Arguments) Convert() (otelconfig.Extension, error)
- func (args Arguments) Exporters() map[otelconfig.DataType]map[otelconfig.ComponentID]otelcomponent.Exporter
- func (args Arguments) Extensions() map[otelconfig.ComponentID]otelcomponent.Extension
- func (a *Arguments) UnmarshalRiver(f func(interface{}) error) error
- type ArgumentsSource
- type GRPCServerArguments
- type HTTPServerArguments
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.
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() (otelconfig.Extension, error)
Convert implements extension.Arguments.
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[otelconfig.DataType]map[otelconfig.ComponentID]otelcomponent.Exporter
Exporters implements extension.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelconfig.ComponentID]otelcomponent.Extension
Extensions implements extension.Arguments.
func (*Arguments) UnmarshalRiver ¶
UnmarshalRiver applies defaults to args before unmarshaling.
type ArgumentsSource ¶
type ArgumentsSource struct { Content string `river:"content,attr,optional"` Remote *otelcol.GRPCClientArguments `river:"remote,block,optional"` File string `river:"file,attr,optional"` ReloadInterval time.Duration `river:"reload_interval,attr,optional"` }
func (*ArgumentsSource) UnmarshalRiver ¶
func (a *ArgumentsSource) UnmarshalRiver(f func(interface{}) error) error
type GRPCServerArguments ¶
type GRPCServerArguments otelcol.GRPCServerArguments
GRPCServerArguments is used to configure otelcol.extension.jaeger_remote_sampling with component-specific defaults.
func (*GRPCServerArguments) UnmarshalRiver ¶
func (args *GRPCServerArguments) UnmarshalRiver(f func(interface{}) error) error
UnmarshalRiver implements river.Unmarshaler and supplies defaults.
type HTTPServerArguments ¶
type HTTPServerArguments otelcol.HTTPServerArguments
HTTPServerArguments is used to configure otelcol.extension.jaeger_remote_sampling with component-specific defaults.
func (*HTTPServerArguments) UnmarshalRiver ¶
func (args *HTTPServerArguments) UnmarshalRiver(f func(interface{}) error) error
UnmarshalRiver implements river.Unmarshaler and supplies defaults.