collector

package
v0.0.0-...-348cdae Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpeakerDeckCollector

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

SpeakerDeckCollector collects SpeakerDeck metrics. It implements prometheus.Collector interface.

func NewSpeakerDeckCollector

func NewSpeakerDeckCollector(client client.Client, users string) *SpeakerDeckCollector

NewSpeakerDeckCollector creates a SpeakerDeckCollector.

func (*SpeakerDeckCollector) Collect

func (c *SpeakerDeckCollector) Collect(channel chan<- prometheus.Metric)

Collect fetches metrics from SpeakerDeck and sends them to the provided channel.

func (*SpeakerDeckCollector) Describe

func (c *SpeakerDeckCollector) Describe(channel chan<- *prometheus.Desc)

Describe sends the super-set of all possible descriptors of SpeakerDeck metrics to the provided channel.

Jump to

Keyboard shortcuts

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