Documentation ¶
Index ¶
- func GetSeriesToChunkMapping(HashValue string, RangeValue []byte) (user string, index int, seriesID string, chunkID string, err error)
- func IsMetricLabelToLabelValueMapping(RangeValue []byte) bool
- func IsMetricToSeriesMapping(RangeValue []byte) bool
- func IsSeriesToChunkMapping(RangeValue []byte) bool
- func IsSeriesToLabelValues(RangeValue []byte) bool
- func UnknownIndexEntryType(RangeValue []byte) string
- type Config
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSeriesToChunkMapping ¶
func GetSeriesToChunkMapping(HashValue string, RangeValue []byte) (user string, index int, seriesID string, chunkID string, err error)
e.RangeValue is: "userID:d<Index>:base64(sha256(labels))". Index is integer, base64 doesn't contain ':'.
func IsMetricToSeriesMapping ¶
func IsSeriesToChunkMapping ¶
Series to Chunk mapping uses \0 "3" \0 suffix of range value.
func IsSeriesToLabelValues ¶
func UnknownIndexEntryType ¶
Types ¶
type Config ¶
type Config struct { TableNames string TablesLimit int PeriodStart flagext.DayValue PeriodEnd flagext.DayValue OutputDirectory string Concurrency int VerifyPlans bool UploadFiles bool KeepFiles bool AllowedUsers string IgnoredUserPattern string }
func (*Config) RegisterFlags ¶
type Scanner ¶
func NewScanner ¶
func NewScanner(cfg Config, scfg blocksconvert.SharedConfig, l log.Logger, reg prometheus.Registerer) (*Scanner, error)
Click to show internal directories.
Click to hide internal directories.