stats

package
v1.2.3-0...-3d68b7a Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package stats contains statistics for converting non-TSM shards to TSM.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	NanFiltered     uint64
	InfFiltered     uint64
	FieldsFiltered  uint64
	PointsWritten   uint64
	PointsRead      uint64
	TsmFilesCreated uint64
	TsmBytesWritten uint64
	CompletedShards uint64
	TotalTime       time.Duration
}

Stats are the statistics captured while converting non-TSM shards to TSM

func (*Stats) AddPointsRead

func (s *Stats) AddPointsRead(n int)

AddPointsRead increments the number of read points.

func (*Stats) AddPointsWritten

func (s *Stats) AddPointsWritten(n int)

AddPointsWritten increments the number of written points.

func (*Stats) AddTSMBytes

func (s *Stats) AddTSMBytes(n uint32)

AddTSMBytes increments the number of TSM Bytes.

func (*Stats) IncrFiltered

func (s *Stats) IncrFiltered()

IncrFiltered increments the number of fields filtered.

func (*Stats) IncrInf

func (s *Stats) IncrInf()

IncrInf increments the number of Infs filtered.

func (*Stats) IncrNaN

func (s *Stats) IncrNaN()

IncrNaN increments the number of NaNs filtered.

func (*Stats) IncrTSMFileCount

func (s *Stats) IncrTSMFileCount()

IncrTSMFileCount increments the number of TSM files created.

Jump to

Keyboard shortcuts

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