Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoStorageConfigured = errors.New("No storage backend has been configured")
)
ErrNoStorageConfigured error no storage has been configured
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { Start() StoreFlows(flows []*flow.Flow) error SearchFlows(fsq filters.SearchQuery) (*flow.FlowSet, error) SearchMetrics(fsq filters.SearchQuery, metricFilter *filters.Filter) (map[string][]*common.TimedMetric, error) Stop() }
Storage interface a flow storage mechanism
func NewStorage ¶
NewStorage creates a new flow storage based on the backend
func NewStorageFromConfig ¶
NewStorageFromConfig creates a new storage based configuration
Click to show internal directories.
Click to hide internal directories.