report

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: 16 Imported by: 5

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 Counter added in v1.10.0

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

Counter abstracts a a method of counting keys.

func NewExactCounter added in v1.10.0

func NewExactCounter() Counter

func NewHLLCounter added in v1.10.0

func NewHLLCounter() Counter

NewHLLCounter returns an approximate Counter using HyperLogLogs for cardinality estimation.

Jump to

Keyboard shortcuts

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