thanosconvert

package
v1.12.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PerUserResults

type PerUserResults struct {
	FailedBlocks, ConvertedBlocks, UnchangedBlocks []string
}

func (*PerUserResults) AddConverted

func (r *PerUserResults) AddConverted(blockID string)

func (*PerUserResults) AddFailed

func (r *PerUserResults) AddFailed(blockID string)

func (*PerUserResults) AddUnchanged

func (r *PerUserResults) AddUnchanged(blockID string)

type Results

type Results map[string]PerUserResults

type ThanosBlockConverter

type ThanosBlockConverter struct {
	// contains filtered or unexported fields
}

ThanosBlockConverter converts blocks written by Thanos to make them readable by Cortex

func NewThanosBlockConverter

func NewThanosBlockConverter(ctx context.Context, cfg bucket.Config, dryRun bool, logger log.Logger) (*ThanosBlockConverter, error)

NewThanosBlockConverter creates a ThanosBlockConverter

func (ThanosBlockConverter) Run

Run iterates over all blocks from all users in a bucket

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL