clickhouse

package
v1.0.49 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickHouseStore

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

func NewClickHouseStore

func NewClickHouseStore(config *config.Configuration, sentryService *sentry.Service) (*ClickHouseStore, error)

func (*ClickHouseStore) Close

func (s *ClickHouseStore) Close() error

func (*ClickHouseStore) GetConn

func (s *ClickHouseStore) GetConn() driver.Conn

TracedConn returns a connection that automatically traces all database operations

func (*ClickHouseStore) GetRawConn added in v1.0.17

func (s *ClickHouseStore) GetRawConn() driver.Conn

Original connection accessor if needed

func (*ClickHouseStore) WithSpan added in v1.0.17

func (s *ClickHouseStore) WithSpan(ctx context.Context, operation string, params map[string]interface{}) (context.Context, *sentry.SpanFinisher)

WithSpan creates a new context with a ClickHouse span for monitoring database operations

Jump to

Keyboard shortcuts

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