exporter

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsCollector

type MetricsCollector struct {
	// contains filtered or unexported fields
}

MetricsCollector is a struct that represents a collector for "Zabbix internal checks".

func NewMetricsCollector

func NewMetricsCollector(jsonRPCClient *internal.JSONRPCClient, userName string, password string, interval time.Duration) *MetricsCollector

NewMetricsCollector makes a MetricCollector according to the given parameters.

func (*MetricsCollector) StartCollecting

func (mc *MetricsCollector) StartCollecting()

StartCollecting starts a goroutine to collect the "Zabbix internal checks" metrics.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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