Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { storage.Config `yaml:",inline"` MaxChunkBatchSize int `yaml:"max_chunk_batch_size"` }
Config is the loki storage configuration
func (*Config) RegisterFlags ¶
RegisterFlags adds the flags required to configure this flag set.
type Store ¶
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 ¶
func NewStore(cfg Config, storeCfg chunk.StoreConfig, schemaCfg chunk.SchemaConfig, limits *validation.Overrides) (Store, error)
NewStore creates a new Loki Store using configuration supplied.
Click to show internal directories.
Click to hide internal directories.