Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { // Embed Queryable for compatibility, but don't actually implement it. storage.Queryable // contains filtered or unexported fields }
Storage implements storage.Storage, and just writes to the WAL.
func NewStorage ¶
func NewStorage(logger log.Logger, registerer prometheus.Registerer, path string) (*Storage, error)
NewStorage makes a new Storage.
func (*Storage) StartTime ¶
StartTime always returns 0, nil. It is implemented for compatibility with Prometheus, but is unused in the agent.
func (*Storage) Truncate ¶
Truncate removes all data from the WAL prior to the timestamp specified by mint.
func (*Storage) WriteStalenessMarkers ¶
WriteStalenessMarkers appends a staleness sample for all active series.
Click to show internal directories.
Click to hide internal directories.