Documentation ¶
Overview ¶
Package sqlite interface for sqlite metric data storage
Index ¶
- type Storage
- func (r Storage) DeleteData(tenant string, id string, end int64, start int64) error
- func (r Storage) DeleteTags(tenant string, id string, tags []string) error
- func (r Storage) GetItemList(tenant string, tags map[string]string) ([]storage.Item, error)
- func (r Storage) GetRawData(tenant string, id string, end int64, start int64, limit int64, order string) ([]storage.DataItem, error)
- func (r Storage) GetStatData(tenant string, id string, end int64, start int64, limit int64, order string, ...) ([]storage.StatItem, error)
- func (r Storage) GetTenants() ([]storage.Tenant, error)
- func (r Storage) Help() string
- func (r Storage) IDExist(tenant string, id string) bool
- func (r Storage) Name() string
- func (r *Storage) Open(options url.Values)
- func (r Storage) PostRawData(tenant string, id string, t int64, v float64) error
- func (r Storage) PutTags(tenant string, id string, tags map[string]string) error
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
}
func (Storage) DeleteData ¶
DeleteData handle delete data fron db
func (Storage) DeleteTags ¶
DeleteTags handle delete tags fron db
func (Storage) GetItemList ¶
func (Storage) GetRawData ¶
func (Storage) GetStatData ¶
func (Storage) PostRawData ¶
PostRawData handle posting data to db
Click to show internal directories.
Click to hide internal directories.