aggregators

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeWrapper

type NodeWrapper struct {
	RollupNode
}

func (*NodeWrapper) Record

func (r *NodeWrapper) Record(depth, totalDepth int, db, rp, measurement string, key []byte, field []byte, tags models.Tags)

type RollupNode

type RollupNode interface {
	sync.Locker
	report.Counter
	Children() rollupNodeMap
	RecordSeries(db, rp, ms string, key, field []byte, tags models.Tags)
	Print(tw *tabwriter.Writer, printTags bool, db, rp, ms string) error
	// contains filtered or unexported methods
}

type RollupNodeFactory

type RollupNodeFactory struct {
	EstTitle string
	NewNode  func(isLeaf bool) NodeWrapper
	// contains filtered or unexported fields
}

func CreateNodeFactory

func CreateNodeFactory(detailed, exact bool) *RollupNodeFactory

func (*RollupNodeFactory) PrintDivider

func (f *RollupNodeFactory) PrintDivider(tw *tabwriter.Writer) error

func (*RollupNodeFactory) PrintHeader

func (f *RollupNodeFactory) PrintHeader(tw *tabwriter.Writer) error

Jump to

Keyboard shortcuts

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