Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator struct {
// contains filtered or unexported fields
}
Aggregator manages in-memory tumbling windows for metrics.
func NewAggregator ¶
func NewAggregator(repo *storage.Repository, windowSize time.Duration) *Aggregator
NewAggregator creates a new TSDB aggregator.
func (*Aggregator) Ingest ¶
func (a *Aggregator) Ingest(m RawMetric)
Ingest adds a raw metric point to the current aggregator window.
func (*Aggregator) Start ¶
func (a *Aggregator) Start(ctx context.Context)
Start begins the aggregation background processes.
Click to show internal directories.
Click to hide internal directories.