jaeger

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 12 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 `alloy:"protocols,block"`

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

	// Output configures where to send received data. Required.
	Output *otelcol.ConsumerArguments `alloy:"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

func (args Arguments) DebugMetricsConfig() otelcolCfg.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) SetToDefault

func (args *Arguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

func (*Arguments) Validate

func (args *Arguments) Validate() error

Validate implements syntax.Validator.

type GRPC

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

func (*GRPC) Convert

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

Convert converts proto into the upstream type.

func (*GRPC) SetToDefault

func (args *GRPC) SetToDefault()

SetToDefault implements syntax.Defaulter.

type ProtocolUDP

type ProtocolUDP struct {
	Endpoint         string           `alloy:"endpoint,attr,optional"`
	QueueSize        int              `alloy:"queue_size,attr,optional"`
	MaxPacketSize    units.Base2Bytes `alloy:"max_packet_size,attr,optional"`
	Workers          int              `alloy:"workers,attr,optional"`
	SocketBufferSize units.Base2Bytes `alloy:"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          `alloy:"grpc,block,optional"`
	ThriftHTTP    *ThriftHTTP    `alloy:"thrift_http,block,optional"`
	ThriftBinary  *ThriftBinary  `alloy:"thrift_binary,block,optional"`
	ThriftCompact *ThriftCompact `alloy:"thrift_compact,block,optional"`
}

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

type ThriftBinary

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

ThriftCompact wraps ProtocolUDP and provides additional behavior.

func (*ThriftBinary) Convert

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

Convert converts proto into the upstream type.

func (*ThriftBinary) SetToDefault

func (args *ThriftBinary) SetToDefault()

SetToDefault implements syntax.Defaulter.

type ThriftCompact

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

ThriftCompact wraps ProtocolUDP and provides additional behavior.

func (*ThriftCompact) Convert

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

Convert converts proto into the upstream type.

func (*ThriftCompact) SetToDefault

func (args *ThriftCompact) SetToDefault()

SetToDefault implements syntax.Defaulter.

type ThriftHTTP

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

func (*ThriftHTTP) Convert

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

Convert converts proto into the upstream type.

func (*ThriftHTTP) SetToDefault

func (args *ThriftHTTP) SetToDefault()

SetToDefault implements syntax.Defaulter.

Jump to

Keyboard shortcuts

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