Documentation ¶
Overview ¶
Package storage handles storage backend
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.1.0
type Config struct { Memory memory.Config `yaml:"memory" json:"memory"` Disk disk.Config `yaml:"disk" json:"disk"` Cassandra cassandra.Config `yaml:"cassandra" json:"cassandra"` XXX map[string]interface{} `yaml:",inline"` }
func (*Config) UnmarshalYAML ¶ added in v0.1.0
type Store ¶
type Store interface { StoreType() string QuerySeries([]common.Query) ([]common.QueryResult, []common.Series, error) WriteIntSeries([]common.IntSeries) error WriteDoubleSeries([]common.DoubleSeries) error Shutdown() }
Store is the base interface for all type of storages TODO: each store should maintains some counter for internal metrics
Directories ¶
Path | Synopsis |
---|---|
Package cassandra provides the functionality to use Cssandra as long term and distributed storage
|
Package cassandra provides the functionality to use Cssandra as long term and distributed storage |
Package disk is a generated protocol buffer package.
|
Package disk is a generated protocol buffer package. |
Package memory provides an in memory store, which can be used as write through or write back cache Generated from series_store_int.go DO NOT EDIT!
|
Package memory provides an in memory store, which can be used as write through or write back cache Generated from series_store_int.go DO NOT EDIT! |
Click to show internal directories.
Click to hide internal directories.