receiver

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: AGPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(receiverCfg map[string]interface{}, pusher BatchPusher, middleware Middleware, logLevel logging.Level) (services.Service, error)

Types

type BatchPusher added in v1.2.0

type BatchPusher interface {
	PushBatches(ctx context.Context, batches []*v1.ResourceSpans) (*tempopb.PushResponse, error)
}

type ConsumeTracesFunc added in v1.2.0

type ConsumeTracesFunc func(context.Context, pdata.Traces) error

func (ConsumeTracesFunc) Capabilities added in v1.3.0

func (f ConsumeTracesFunc) Capabilities() consumer.Capabilities

func (ConsumeTracesFunc) ConsumeTraces added in v1.2.0

func (f ConsumeTracesFunc) ConsumeTraces(ctx context.Context, td pdata.Traces) error

type Middleware added in v1.2.0

type Middleware interface {
	Wrap(consumer.Traces) consumer.Traces
}

func FakeTenantMiddleware added in v1.2.0

func FakeTenantMiddleware() Middleware

func Merge added in v1.2.0

func Merge(middlesware ...Middleware) Middleware

Merge produces a middleware that applies multiple middlesware in turn; ie Merge(f,g,h).Wrap(handler) == f.Wrap(g.Wrap(h.Wrap(handler)))

func MultiTenancyMiddleware added in v1.2.0

func MultiTenancyMiddleware() Middleware

type MiddlewareFunc added in v1.2.0

type MiddlewareFunc func(consumer.Traces) consumer.Traces

func (MiddlewareFunc) Wrap added in v1.2.0

Wrap implements Interface

Jump to

Keyboard shortcuts

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