package report

import "github.com/influxdata/influxdb/cmd/influx_inspect/report"

Package report reports statistics about TSM files.

Index

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 Counter

type Counter interface {
	Add(key []byte)
	Count() uint64
}

Counter abstracts a a method of counting keys.

func NewExactCounter

func NewExactCounter() Counter

func NewHLLCounter

func NewHLLCounter() Counter

NewHLLCounter returns an approximate Counter using HyperLogLogs for cardinality estimation.

Source Files

report.go

Version
v1.12.0 (latest)
Published
Apr 8, 2025
Platform
linux/amd64
Imports
16 packages
Last checked
2 days ago

Tools for package owners.