jaeger_remote_sampling

package
v0.34.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

Exporters implements extension.Arguments.

func (Arguments) Extensions

func (args Arguments) Extensions() map[otelconfig.ComponentID]otelcomponent.Extension

Extensions implements extension.Arguments.

func (*Arguments) UnmarshalRiver

func (a *Arguments) UnmarshalRiver(f func(interface{}) error) error

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.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL