collector

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporterCollector

func NewExporterCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger) prometheus.Collector

Types

type Collector

type Collector interface {
	prometheus.Collector

	Name() string
}

Custom collector interface

func NewAgentCollector

func NewAgentCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

func NewBridgeCollector

func NewBridgeCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

func NewCalendarCollector

func NewCalendarCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

func NewConfbridgeCollector

func NewConfbridgeCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

func NewCoreCollector

func NewCoreCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

func NewModuleCollector

func NewModuleCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

func NewSipCollector

func NewSipCollector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

func NewdIax2Collector

func NewdIax2Collector(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, collectorError *prometheus.Desc) Collector

type CollectorFactory

type CollectorFactory func(prefix string, cmdRunner *cmd.CmdRunner, logger log.Logger, errorMetric *prometheus.Desc) Collector

Jump to

Keyboard shortcuts

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