nagflux

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2015 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 interface{}, dumpFile string) *DumpfileCollector

NewDumpfileCollector constructor, which also starts the collector

func (*DumpfileCollector) Stop

func (dump *DumpfileCollector) Stop()

Stop stops 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 chan interface{}, folder string) *FileCollector

NewNagfluxFileCollector constructor, which also starts the collector.

func (*FileCollector) Stop

func (nfc *FileCollector) Stop()

Stop stops the Collector.

Jump to

Keyboard shortcuts

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