collector

package
v0.0.0-...-6bad0f2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

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

func NewJob

func NewJob(logger log.Logger, client *nakivo.Client, id int) *Job

func (*Job) Collect

func (j *Job) Collect(ch chan<- prometheus.Metric)

func (*Job) Describe

func (j *Job) Describe(ch chan<- *prometheus.Desc)

type JobGroup

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

func NewJobGroup

func NewJobGroup(logger log.Logger, client *nakivo.Client) *JobGroup

func (*JobGroup) Collect

func (g *JobGroup) Collect(ch chan<- prometheus.Metric)

func (*JobGroup) Describe

func (g *JobGroup) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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