jaeger_remote_sampling

package
v0.36.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 8 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.

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

Exporters implements extension.Arguments.

func (Arguments) Extensions

func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension

Extensions implements extension.Arguments.

func (*Arguments) Validate added in v0.35.0

func (a *Arguments) Validate() error

Validate implements river.Validator.

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.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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