Documentation ¶
Index ¶
- type Gorilla
- type Meta
- type Pnt
- type Pnts
- type Point
- type Storage
- func (s *Storage) Cleanup(metas []Meta)
- func (s *Storage) Delete(m Meta) <-chan []*pb.Point
- func (s *Storage) ListSeries() []Meta
- func (s *Storage) Read(ksid, tsid string, start, end int64) ([]*pb.Point, gobol.Error)
- func (s *Storage) Start()
- func (s *Storage) Stop()
- func (s *Storage) ToDepot(metas []Meta)
- func (s *Storage) WAL(ksts string, blockID int64, pts []byte) error
- func (s *Storage) Write(p *pb.Point) gobol.Error
- type TSDBpoint
- type TSDBpoints
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage keeps all timeseries in memory after a while the serie will be saved at cassandra if the time range is not in memory it must query cassandra
func New ¶
func New( lgr *zap.Logger, sts *tsstats.StatsTS, persist depot.Persistence, w *wal.WAL, saveInterval int64, ) *Storage
New returns Storage
func (*Storage) ListSeries ¶
func (*Storage) Read ¶
Read points from a timeseries, if range start bigger than 24hours it will read points from persistence
type TSDBpoints ¶
type TSDBpoints []TSDBpoint
func (TSDBpoints) Validate ¶
func (p TSDBpoints) Validate() gobol.Error
Click to show internal directories.
Click to hide internal directories.