Versions in this module Expand all Collapse all v3 v3.0.1 Mar 21, 2022 v3.0.0 Mar 21, 2022 Changes in this version + var ErrWALClosed = fmt.Errorf("WAL storage closed") + func SubDirectory(base string) string + type Metrics struct + DiskSize prometheus.Gauge + NumActiveSeries prometheus.Gauge + NumDeletedSeries prometheus.Gauge + ReplayDuration prometheus.Histogram + TotalAppendedExemplars prometheus.Counter + TotalAppendedSamples prometheus.Counter + TotalCorruptions prometheus.Counter + TotalCreatedSeries prometheus.Counter + TotalFailedRepairs prometheus.Counter + TotalRemovedSeries prometheus.Counter + TotalSucceededRepairs prometheus.Counter + func NewMetrics(r prometheus.Registerer) *Metrics + func (m *Metrics) Unregister() + type Storage struct + func NewStorage(logger log.Logger, metrics *Metrics, registerer prometheus.Registerer, ...) (*Storage, error) + func (*Storage) StartTime() (int64, error) + func (w *Storage) Appender(_ context.Context) storage.Appender + func (w *Storage) Close() error + func (w *Storage) Directory() string + func (w *Storage) Truncate(mint int64) error + func (w *Storage) WriteStalenessMarkers(remoteTsFunc func() int64) error Other modules containing this package github.com/pao214/loki/v2