Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DumpfileCollector ¶
type DumpfileCollector struct { IsRunning bool // contains filtered or unexported fields }
DumpfileCollector collects queries from old runs, which could not been completed.
func NewDumpfileCollector ¶
func NewDumpfileCollector(jobs chan collector.Printable, dumpFile string, target data.Target, fileBufferSize int) *DumpfileCollector
NewDumpfileCollector constructor, which also starts the collector
type FileCollector ¶
type FileCollector struct {
// contains filtered or unexported fields
}
FileCollector provides a interface to nagflux, in which you could insert influxdb queries.
func NewNagfluxFileCollector ¶
func NewNagfluxFileCollector(results collector.ResultQueues, folder string, fieldSeparator rune) *FileCollector
NewNagfluxFileCollector constructor, which also starts the collector.
type Printable ¶ added in v0.2.0
type Printable struct { collector.Filterable Table string Timestamp string // contains filtered or unexported fields }
Printable converts from nagfluxfile format to X
func (Printable) PrintForElasticsearch ¶ added in v0.2.0
PrintForElasticsearch prints in the elasticsearch json format
func (Printable) PrintForInfluxDB ¶ added in v0.2.0
PrintForInfluxDB prints the data in influxdb lineformat
Click to show internal directories.
Click to hide internal directories.