metrics

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Namespace = "kube_image_keeper"

Variables

View Source
var BuildDateTime = ""
View Source
var Revision = ""
View Source
var Version = "0.0.0"

Version and build informations set at link time

Functions

func NewInfo

func NewInfo(subsystem string) prometheus.Collector

Types

type Exporter

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

func New

func New(collector prometheus.Collector, address string) *Exporter

func (*Exporter) Listen

func (e *Exporter) Listen() error

func (*Exporter) ListenAndServe

func (e *Exporter) ListenAndServe() error

func (*Exporter) Serve

func (e *Exporter) Serve() error

func (*Exporter) Shutdown

func (e *Exporter) Shutdown() error

type Info

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

func (*Info) Collect

func (i *Info) Collect(ch chan<- prometheus.Metric)

Collect implements Collector.

func (*Info) Describe

func (i *Info) Describe(ch chan<- *prometheus.Desc)

Describe implements Collector.

Jump to

Keyboard shortcuts

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