searchcontroller

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const TieBreakerField = "span.spanId.keyword"

Variables

This section is empty.

Functions

func NewSearchController

func NewSearchController(logger *zap.Logger, client *elasticsearch.TypedClient, idx string) (*searchController, error)

Types

type SearchController

type SearchController interface {
	// Search spans in database
	Search(ctx context.Context, r spansquery.SearchRequest) (*spansquery.SearchResponse, error)
}

type SpanParseOption

type SpanParseOption func(*internalspan.InternalSpan)

Jump to

Keyboard shortcuts

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