Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Retention of data in days, defaults to 7
Retention int `default:"7" hcl:"retention,optional"`
// TimeInterval defines how chunks are split by time defaults to one chunk per 24 hours.
TimeInterval int `default:"24" hcl:"interval,optional"`
// TimeTruncation truncates fetch time by hour, for example if we fetch with TimeTruncation = 1 at 11:25 the fetch date will truncate to 11:00
// defaults to 24 hours, which means one set of fetch data per day.
TimeTruncation int `default:"24" hcl:"truncation,optional"`
}
type CreateHyperTableResult ¶
type TableCreator ¶
type TableCreator struct {
// contains filtered or unexported fields
}
func NewHistoryTableCreator ¶
func NewHistoryTableCreator(cfg *Config, l hclog.Logger) (*TableCreator, error)
func (TableCreator) CreateTable ¶
Click to show internal directories.
Click to hide internal directories.