Versions in this module Expand all Collapse all v2 v2.4.3 Mar 21, 2022 Changes in this version + const DefaultCleanupAge + const DefaultCleanupPeriod + type Config struct + MinAge time.Duration + Period time.Duration + func (c Config) RegisterFlags(f *flag.FlagSet) + type Metrics struct + AbandonedStorage prometheus.Gauge + CleanupRunsErrors prometheus.Counter + CleanupRunsSuccess prometheus.Counter + CleanupTimes prometheus.Histogram + DiscoveryError *prometheus.CounterVec + ManagedStorage prometheus.Gauge + SegmentError *prometheus.CounterVec + func NewMetrics(r prometheus.Registerer) *Metrics + func (m *Metrics) Unregister() + type WALCleaner struct + func NewWALCleaner(logger log.Logger, manager instance.Manager, metrics *Metrics, ...) *WALCleaner + func (c *WALCleaner) Stop() Other modules containing this package github.com/pao214/loki/v3