jaeger

package
v0.39.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package jaeger provides an otelcol.receiver.jaeger component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Protocols ProtocolsArguments `river:"protocols,block"`

	// DebugMetrics configures component internal metrics. Optional.
	DebugMetrics otelcol.DebugMetricsArguments `river:"debug_metrics,block,optional"`

	// Output configures where to send received data. Required.
	Output *otelcol.ConsumerArguments `river:"output,block"`
}

Arguments configures the otelcol.receiver.jaeger component.

func (Arguments) Convert

func (args Arguments) Convert() (otelcomponent.Config, error)

Convert implements receiver.Arguments.

func (Arguments) DebugMetricsConfig added in v0.37.0

func (args Arguments) DebugMetricsConfig() otelcol.DebugMetricsArguments

DebugMetricsConfig implements receiver.Arguments.

func (Arguments) Exporters

Exporters implements receiver.Arguments.

func (Arguments) Extensions

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

Extensions implements receiver.Arguments.

func (Arguments) NextConsumers

func (args Arguments) NextConsumers() *otelcol.ConsumerArguments

NextConsumers implements receiver.Arguments.

func (*Arguments) Validate

func (args *Arguments) Validate() error

Validate implements river.Validator.

type GRPC added in v0.35.0

type GRPC struct {
	GRPCServerArguments *otelcol.GRPCServerArguments `river:",squash"`
}

func (*GRPC) Convert added in v0.35.0

func (args *GRPC) Convert() *otelconfiggrpc.GRPCServerSettings

Convert converts proto into the upstream type.

func (*GRPC) SetToDefault added in v0.35.0

func (args *GRPC) SetToDefault()

SetToDefault implements river.Defaulter.

type ProtocolUDP

type ProtocolUDP struct {
	Endpoint         string           `river:"endpoint,attr,optional"`
	QueueSize        int              `river:"queue_size,attr,optional"`
	MaxPacketSize    units.Base2Bytes `river:"max_packet_size,attr,optional"`
	Workers          int              `river:"workers,attr,optional"`
	SocketBufferSize units.Base2Bytes `river:"socket_buffer_size,attr,optional"`
}

ProtocolUDP configures a UDP server.

func (*ProtocolUDP) Convert

func (proto *ProtocolUDP) Convert() *jaegerreceiver.ProtocolUDP

Convert converts proto into the upstream type.

type ProtocolsArguments

type ProtocolsArguments struct {
	GRPC          *GRPC          `river:"grpc,block,optional"`
	ThriftHTTP    *ThriftHTTP    `river:"thrift_http,block,optional"`
	ThriftBinary  *ThriftBinary  `river:"thrift_binary,block,optional"`
	ThriftCompact *ThriftCompact `river:"thrift_compact,block,optional"`
}

ProtocolsArguments configures protocols for otelcol.receiver.jaeger to listen on.

type ThriftBinary added in v0.35.0

type ThriftBinary struct {
	ProtocolUDP *ProtocolUDP `river:",squash"`
}

ThriftCompact wraps ProtocolUDP and provides additional behavior.

func (*ThriftBinary) Convert added in v0.35.0

func (args *ThriftBinary) Convert() *jaegerreceiver.ProtocolUDP

Convert converts proto into the upstream type.

func (*ThriftBinary) SetToDefault added in v0.35.0

func (args *ThriftBinary) SetToDefault()

SetToDefault implements river.Defaulter.

type ThriftCompact added in v0.35.0

type ThriftCompact struct {
	ProtocolUDP *ProtocolUDP `river:",squash"`
}

ThriftCompact wraps ProtocolUDP and provides additional behavior.

func (*ThriftCompact) Convert added in v0.35.0

func (args *ThriftCompact) Convert() *jaegerreceiver.ProtocolUDP

Convert converts proto into the upstream type.

func (*ThriftCompact) SetToDefault added in v0.35.0

func (args *ThriftCompact) SetToDefault()

SetToDefault implements river.Defaulter.

type ThriftHTTP added in v0.35.0

type ThriftHTTP struct {
	HTTPServerArguments *otelcol.HTTPServerArguments `river:",squash"`
}

func (*ThriftHTTP) Convert added in v0.35.0

func (args *ThriftHTTP) Convert() *otelconfighttp.HTTPServerSettings

Convert converts proto into the upstream type.

func (*ThriftHTTP) SetToDefault added in v0.35.0

func (args *ThriftHTTP) SetToDefault()

SetToDefault implements river.Defaulter.

Jump to

Keyboard shortcuts

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