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 }
PrometheusServer stores all prometheus metrics
func GetPrometheusServer ¶ added in v0.2.4
func GetPrometheusServer() PrometheusServer
GetPrometheusServer returns the single Prometheusserver
func NewPrometheusServer ¶ added in v0.2.4
func NewPrometheusServer(address string) PrometheusServer
NewPrometheusServer creates a new PrometheusServer
func (PrometheusServer) Stop ¶ added in v0.2.4
func (s PrometheusServer) Stop()
Stop stops the Server
func (PrometheusServer) WatchResultQueueLength ¶ added in v0.2.4
func (s PrometheusServer) WatchResultQueueLength(channels map[data.Datatype]chan collector.Printable)
WatchResultQueueLength continually monitors the global queue
Click to show internal directories.
Click to hide internal directories.