reportdisk

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package report reports statistics about TSM files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Stderr io.Writer
	Stdout io.Writer
	// contains filtered or unexported fields
}

Command represents the program execution for "influxd report".

func NewCommand

func NewCommand() *Command

NewCommand returns a new instance of Command.

func (*Command) Run

func (cmd *Command) Run(args ...string) error

Run executes the command.

type MeasurementDetails

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

type MeasurementSizes

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

func (*MeasurementSizes) AddSize

func (s *MeasurementSizes) AddSize(db, rp, measurement string, size int64)

func (*MeasurementSizes) ForEach

func (s *MeasurementSizes) ForEach(f func(db, rp, measurement string, detail MeasurementDetails))

type ProgressReporter

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

func NewProgressReporter

func NewProgressReporter(w io.Writer) *ProgressReporter

func (*ProgressReporter) Report

func (p *ProgressReporter) Report(line string)

type ShardDetails

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

type ShardSizes

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

func (*ShardSizes) AddTsmFileWithSize

func (s *ShardSizes) AddTsmFileWithSize(db, rp, id string, size int64)

func (*ShardSizes) ForEach

func (s *ShardSizes) ForEach(f func(db, rp, id string, detail ShardDetails))

Jump to

Keyboard shortcuts

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