Documentation ¶
Overview ¶
Package chstorage provides Clickhouse-based storage.
Index ¶
- type Inserter
- type Querier
- func (q *Querier) SearchTags(ctx context.Context, tags map[string]string, ...) (iterators.Iterator[tracestorage.Span], error)
- func (q *Querier) TagNames(ctx context.Context) (r []string, _ error)
- func (q *Querier) TagValues(ctx context.Context, tagName string) (iterators.Iterator[tracestorage.Tag], error)
- func (q *Querier) TraceByID(ctx context.Context, id otelstorage.TraceID, ...) (iterators.Iterator[tracestorage.Span], error)
- type Tables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inserter ¶
type Inserter struct {
// contains filtered or unexported fields
}
Inserter implements tracestorage.Inserter using Clickhouse.
func NewInserter ¶
NewInserter creates new Inserter.
func (*Inserter) InsertSpans ¶
InsertSpans inserts given spans.
func (*Inserter) InsertTags ¶
InsertTags insert given set of tags to the storage.
type Querier ¶
type Querier struct {
// contains filtered or unexported fields
}
Querier implements tracestorage.Querier using Clickhouse.
func NewQuerier ¶
NewQuerier creates new Querier.
func (*Querier) SearchTags ¶
func (q *Querier) SearchTags(ctx context.Context, tags map[string]string, opts tracestorage.SearchTagsOptions) (iterators.Iterator[tracestorage.Span], error)
SearchTags performs search by given tags.
func (*Querier) TagValues ¶
func (q *Querier) TagValues(ctx context.Context, tagName string) (iterators.Iterator[tracestorage.Tag], error)
TagValues returns all available tag values for given tag.
func (*Querier) TraceByID ¶
func (q *Querier) TraceByID(ctx context.Context, id otelstorage.TraceID, opts tracestorage.TraceByIDOptions) (iterators.Iterator[tracestorage.Span], error)
TraceByID returns spans of given trace.
Click to show internal directories.
Click to hide internal directories.