collectors

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SitesCollector

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

func NewSitesCollector

func NewSitesCollector(namespace string, sender *chan string, includeFile string, excludeFile string) *SitesCollector

func (*SitesCollector) Collect

func (c *SitesCollector) Collect(ch chan<- prometheus.Metric)

func (*SitesCollector) Describe

func (c *SitesCollector) Describe(ch chan<- *prometheus.Desc)

type StatCollector

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

func NewStatsCollector

func NewStatsCollector(namespace string, sender *chan string) *StatCollector

func (*StatCollector) Collect

func (c *StatCollector) Collect(ch chan<- prometheus.Metric)

func (*StatCollector) Describe

func (c *StatCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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