prometheus

package
v1.90.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerCollector added in v1.90.2

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

ConsumerCollector for prometheus.

func NewConsumerCollector added in v1.90.2

func NewConsumerCollector(lc fx.Lifecycle, version version.Version) *ConsumerCollector

NewConsumerCollector for prometheus.

func (*ConsumerCollector) Collect added in v1.90.2

func (m *ConsumerCollector) Collect(ch chan<- prometheus.Metric)

Collect is called by the Prometheus registry when collecting metrics. The implementation sends each collected metric via the provided channel and returns once the last metric has been sent.

func (*ConsumerCollector) Describe added in v1.90.2

func (m *ConsumerCollector) Describe(ch chan<- *prometheus.Desc)

Describe sends the super-set of all possible descriptors of metrics collected by this Collector to the provided channel and returns once the last descriptor has been sent.

func (*ConsumerCollector) Handler added in v1.90.2

func (m *ConsumerCollector) Handler(topic, channel string, h handler.Handler) handler.Handler

ServerHandler for prometheus.

type ProducerCollector added in v1.90.2

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

ProducerCollector for prometheus.

func NewProducerCollector added in v1.90.2

func NewProducerCollector(lc fx.Lifecycle, version version.Version) *ProducerCollector

NewProducerCollector for prometheus.

func (*ProducerCollector) Collect added in v1.90.2

func (m *ProducerCollector) Collect(ch chan<- prometheus.Metric)

Collect is called by the Prometheus registry when collecting metrics. The implementation sends each collected metric via the provided channel and returns once the last metric has been sent.

func (*ProducerCollector) Describe added in v1.90.2

func (m *ProducerCollector) Describe(ch chan<- *prometheus.Desc)

Describe sends the super-set of all possible descriptors of metrics collected by this Collector to the provided channel and returns once the last descriptor has been sent.

func (*ProducerCollector) Producer added in v1.90.2

Producer for prometheus.

Jump to

Keyboard shortcuts

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