otelcol

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporter

func NewExporter(ctx context.Context, cfg Config) (trace.SpanExporter, error)

Types

type Config

type Config struct {
	SelfMetrics bool
	SelfSpans   bool
	Batcher     concurrentbatchprocessor.Config
	Exporter    otelarrowexporter.Config
}

TODO: Config, Option, and the option impls are duplicated between this package and the metric exporter. Fix this.

func NewConfig

func NewConfig(opts ...Option) Config

func NewDefaultConfig

func NewDefaultConfig() Config

type Option

type Option func(*Config)

func WithCompressor

func WithCompressor(comp string) Option

func WithEndpoint

func WithEndpoint(addr string) Option

func WithHeaders

func WithHeaders(hdrs map[string]string) Option

func WithInsecure

func WithInsecure() Option

func WithTLSSetting

func WithTLSSetting(tlss configtls.ClientConfig) Option

Jump to

Keyboard shortcuts

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