# Functions
New creates a new wrapper, instantiating the actual wlog.WL underneath.
NewWatcher creates a new Watcher.
NewWriter creates a new Writer.
ReadWAL will read all entries in the WAL located under dir.
# Variables
DefaultWatchConfig is the opinionated defaults for operating the Watcher.
# Structs
Config contains all WAL-related settings.
WatchConfig allows the user to configure the Watcher.
Writer implements api.EntryHandler, exposing a channel were scraping targets can write to.
# Interfaces
CleanupEventSubscriber is an interface that objects that want to receive events from the wal Writer can implement.
Reader is a dependency interface to inject generic WAL readers into the Watcher.
WAL is an interface that allows us to abstract ourselves from Prometheus WAL implementation.
WriteCleanup is responsible for cleaning up resources used in the process of reading the WAL.
WriteEventSubscriber is an interface that objects that want to receive an event when Writer writes to the WAL can implement, and later subscribe to the Writer via writer.SubscribeWrite.
WriteTo is an interface used by the Watcher to send the samples it's read from the WAL on to somewhere else, or clean them up.