statistics

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2016 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 PrometheusServer added in v0.2.4

type PrometheusServer struct {
	SpoolFilesOnDisk         prometheus.Gauge
	SpoolFilesInQueue        prometheus.Gauge
	SpoolFilesParsedDuration prometheus.Counter
	SpoolFilesParsed         prometheus.Counter
	SpoolFilesLines          prometheus.Counter
	BytesSend                *prometheus.CounterVec
	SendDuration             *prometheus.CounterVec
	// contains filtered or unexported fields
}

func GetPrometheusServer added in v0.2.4

func GetPrometheusServer() PrometheusServer

func NewPrometheusServer added in v0.2.4

func NewPrometheusServer(address string) PrometheusServer

func (PrometheusServer) SetBufferLength added in v0.2.4

func (s PrometheusServer) SetBufferLength(length float64)

func (PrometheusServer) Stop added in v0.2.4

func (s PrometheusServer) Stop()

func (PrometheusServer) WatchResultQueueLength added in v0.2.4

func (s PrometheusServer) WatchResultQueueLength(channels map[data.Datatype]chan collector.Printable)

Jump to

Keyboard shortcuts

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