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
func (ConsumeTracesFunc) Capabilities ¶ added in v1.3.0
func (f ConsumeTracesFunc) Capabilities() consumer.Capabilities
func (ConsumeTracesFunc) ConsumeTraces ¶ added in v1.2.0
type Middleware ¶ added in v1.2.0
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
Click to show internal directories.
Click to hide internal directories.