dal

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickHouseReader

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

func NewClickHouseReader

func NewClickHouseReader(cfg config.ClickHouseConfig) (*ClickHouseReader, func())

NewClickHouseReader never contacts the server at construction time. An optional unavailable usage source must not prevent the management console from starting.

func (*ClickHouseReader) Enabled

func (r *ClickHouseReader) Enabled() bool

func (*ClickHouseReader) Read

func (r *ClickHouseReader) Read(ctx context.Context, window schema.Window) ([]schema.Candidate, error)

func (*ClickHouseReader) ReadUsageTrends added in v1.0.4

func (r *ClickHouseReader) ReadUsageTrends(ctx context.Context, window schema.Window, bucketSeconds int64) ([]schema.UsageTrendsRow, error)

Jump to

Keyboard shortcuts

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