indexer

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOverflow = errors.New("indexer buffer overflow")

Functions

This section is empty.

Types

type Indexer

type Indexer struct {
	// contains filtered or unexported fields
}

func NewIndexer

func NewIndexer(pool table.Client, mf metrics.Factory, logger *zap.Logger, jaegerLogger hclog.Logger, opts Options) *Indexer

func (*Indexer) Add

func (w *Indexer) Add(span *model.Span) error

func (*Indexer) Close

func (w *Indexer) Close()

type Options

type Options struct {
	DbPath              schema.DbPath
	MaxTraces           int
	MaxTTL              time.Duration
	BufferSize          int
	Batch               batch.Options
	WriteTimeout        time.Duration
	RetryAttemptTimeout time.Duration
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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