Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct { Interval uint32 TTL uint32 Ready uint32 // ready for reads for data as of this timestamp (or as of now-TTL, whichever is highest) }
Archive is like conf.Retention except: * for archive 0, the "interval" is the raw interval of the metric, if it differs from what the retention specifies * only contains relevant fields for planning purposes
func NewArchive ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index tracks all seen lists of archives
func (*Index) ArchivesID ¶
ArchivesID returns the archivesId for the given request, and adds it to the index if it is new
Click to show internal directories.
Click to hide internal directories.