statistics

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusServer

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
}

PrometheusServer stores all prometheus metrics

func GetPrometheusServer

func GetPrometheusServer() PrometheusServer

GetPrometheusServer returns the single Prometheusserver

func NewPrometheusServer

func NewPrometheusServer(address string) PrometheusServer

NewPrometheusServer creates a new PrometheusServer

func (PrometheusServer) Stop

func (s PrometheusServer) Stop()

Stop stops the Server

func (PrometheusServer) WatchResultQueueLength

func (s PrometheusServer) WatchResultQueueLength(channels collector.ResultQueues)

WatchResultQueueLength continually monitors the global queue

Jump to

Keyboard shortcuts

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