jaegerpkg

package
v0.3.35 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporter

func NewExporter(conf *Config, opts ...Option) (*otlptrace.Exporter, error)

NewExporter jaeger.Exporter

func NewGRPCExporter added in v0.2.36

func NewGRPCExporter(conf *Config) (*otlptrace.Exporter, error)

func NewHTTPExporter added in v0.2.36

func NewHTTPExporter(conf *Config) (*otlptrace.Exporter, error)

func NewJaegerExporter

func NewJaegerExporter(conf *Config, opts ...Option) (*otlptrace.Exporter, error)

NewJaegerExporter ...

Types

type Config

type Config struct {
	Kind              Kind
	Addr              string
	IsInsecure        bool
	Timeout           *durationpb.Duration
	WithHttpBasicAuth bool
	Username          string
	Password          string
}

Config jaeger config

type Kind added in v0.2.36

type Kind string
const (
	KingHTTP Kind = "http"
	KingGRPC Kind = "grpc"
)

type Option

type Option func(*options)

Option is config option.

func WithWriter

func WithWriter(writer io.Writer) Option

WithWriter with config writer.

Jump to

Keyboard shortcuts

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