collector

package
v0.0.0-...-c076830 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrganizationCollector

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

OrganizationCollector collects metrics about the account.

func NewOrganizationCollector

func NewOrganizationCollector(logger log.Logger, client *githubql.Client, organizations []string, maxRepos int) *OrganizationCollector

NewOrganizationCollector returns a new OrganizationCollector.

func (*OrganizationCollector) Collect

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

Collect is called by the Prometheus registry when collecting metrics.

func (*OrganizationCollector) Describe

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

Describe sends the super-set of all possible descriptors of metrics collected by this Collector.

Jump to

Keyboard shortcuts

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