Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBinsConfig = BinsConfig{ PeriodLength: 1 * time.Hour, PeriodCount: 24, MaxBinCount: 1024, }
View Source
var DefaultErrorsConfig = ErrorsConfig{ PeriodLength: 5 * time.Minute, PeriodCount: 288, }
Functions ¶
This section is empty.
Types ¶
type Bins ¶
type Bins struct {
// contains filtered or unexported fields
}
func NewBins ¶
func NewBins(config BinsConfig) (*Bins, error)
func (*Bins) Data ¶
func (h *Bins) Data() (out models.BinsHistory)
func (*Bins) Load ¶
Load loads a serialized state. The config parameters need to match the current instance.
type BinsConfig ¶
type Errors ¶
type Errors struct {
// contains filtered or unexported fields
}
func NewErrors ¶
func NewErrors(config ErrorsConfig) (*Errors, error)
func (*Errors) Data ¶
func (h *Errors) Data() (out models.ErrorsHistory)
func (*Errors) Load ¶
Load loads a serialized state. The config parameters need to match the current instance.
type ErrorsConfig ¶
Click to show internal directories.
Click to hide internal directories.