metric

package
v0.0.0-...-3214137 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: GPL-3.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 Collector

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

func NewCollector

func NewCollector() *Collector

func (*Collector) ExposeHTTP

func (c *Collector) ExposeHTTP(ctx context.Context)

func (*Collector) RegisterEvent

func (c *Collector) RegisterEvent(containerName, serviceName, serviceID, eventType string)

func (*Collector) RegisterGatherer

func (c *Collector) RegisterGatherer(gatherer Gatherer)

type Gatherer

type Gatherer interface {
	Metrics() []prometheus.Collector
	Gather()
}

Jump to

Keyboard shortcuts

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