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) ReadUsageTrends ¶ added in v1.0.4
func (r *ClickHouseReader) ReadUsageTrends(ctx context.Context, window schema.Window, bucketSeconds int64) ([]schema.UsageTrendsRow, error)
Click to show internal directories.
Click to hide internal directories.