package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Aug 18, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
storage.Config `yaml:",inline"`
MaxChunkBatchSize int `yaml:"max_chunk_batch_size"`
}
Config is the loki storage configuration
func (cfg *Config) RegisterFlags(f *flag.FlagSet)
RegisterFlags adds the flags required to configure this flag set.
type Store interface {
chunk.Store
LazyQuery(ctx context.Context, req *logproto.QueryRequest) (iter.EntryIterator, error)
}
Store is the Loki chunk store to retrieve and save chunks.
func NewStore(cfg Config, storeCfg chunk.StoreConfig, schemaCfg chunk.SchemaConfig, limits *validation.Overrides) (Store, error)
NewStore creates a new Loki Store using configuration supplied.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.